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 @@ -6,6 +6,9 @@
using UnityEditor;
#endif
using UnityEngine.Formats.Alembic.Sdk;
#if UNITY_6000_5_OR_NEWER
using UnityEngine.Assemblies;
#endif

namespace UnityEngine.Formats.Alembic.Util
{
Expand Down Expand Up @@ -989,7 +992,11 @@ void SetupCapturerTable()
if (m_capturerTable.Count != 0)
return;

#if UNITY_6000_5_OR_NEWER
foreach (Assembly assembly in CurrentAssemblies.GetLoadedAssemblies())
#else
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
#endif
{
foreach (Type type in assembly.GetTypes())
{
Expand Down