Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
using UnityEditor;
#endif

#if UNITY_6000_5_OR_NEWER
using UnityEngine.Assemblies;
#endif

namespace UnityEngine.Rendering.PostProcessing
{
using SceneManagement;
Expand Down Expand Up @@ -1211,7 +1215,11 @@ public static IEnumerable<Type> GetAllAssemblyTypes()
{
if (m_AssemblyTypes == null)
{
#if UNITY_6000_5_OR_NEWER
m_AssemblyTypes = CurrentAssemblies.GetLoadedAssemblies()
#else
m_AssemblyTypes = AppDomain.CurrentDomain.GetAssemblies()
#endif
.SelectMany(t =>
{
// Ugly hack to handle mis-versioned dlls
Expand Down