IsMainThread does not appear to be available for versions of unity below 2018. ?CurrentThreadIsMainThread@@YA_NXZ is not available on 2018.1.0 and so now throws an exception when trying to access, ?InternalEditorUtility_CUSTOM_CurrentThreadIsMainThread@@YAEXZ or ?Object_CUSTOM_CurrentThreadIsMainThread@@YAEXZ would need to be used instead.
IsMainThread does not appear to be available for versions of unity below 2018.
?CurrentThreadIsMainThread@@YA_NXZ
is not available on 2018.1.0 and so now throws an exception when trying to access,?InternalEditorUtility_CUSTOM_CurrentThreadIsMainThread@@YAEXZ
or?Object_CUSTOM_CurrentThreadIsMainThread@@YAEXZ
would need to be used instead.As its not needed, it may as well be removed.