You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
I am having an issue with Full Inspector where the editor crashes when reloading the assemblies. I have crash reports with stack traces pointing to the insides of unity. When I take Full Inspector out of our project, it no longer crashes.
We have recently updated unity from 5.4 to 5,6.
We have updated FullSerializer and FullInspector to the latest version from GitHub.
We have tried moving full inspector into a fresh project with the editor scripts that seem to trigger the crash but it does not crash.
I've tried to isolate the code that causes the crash, however the problem seems to be widespread across our project. Only editor scripts seems to cause the crash. It seems none of the editor script code is actually run however because debug logs are not called and neither is code that simply writes text to a file.
I noticed that the editor log contains a lot of TypeLoadException's before the crash occurs.
We were able to repro the crash by putting a single editor script back into the project with the following code: All lines are required for it to crash. If any are removed it would not crash.
public override void OnInspectorGUI()
{
SchoolController controller = target as SchoolController;
SchoolController.DrawGizmos = EditorGUILayout.Toggle("Draw All School Gizmos", SchoolController.DrawGizmos);
controller.DrawMySchoolGizmos = EditorGUILayout.Toggle("Draw This School Gizmos", controller.DrawMySchoolGizmos);
}
Here is the stacktrace for the crash that occurs when we leave our editor scripts in the codebase:
We've also submitted a crash report to Unity, however I don't expect them to reply since we don't really have reproduction steps without sending our 50+ GB project to them.
Any help would be appreciated, I've already spent a few days trying to find this crash.
Thanks,
Tristan
The text was updated successfully, but these errors were encountered:
We were able to stop the crashing by converting code into dll's. It seems we hit some sort of bug in the compiler when we had so many scripts. Removing Full Inspector was just enough scripts to prevent the crash.
@Tagette Thanks for the write-up here. I've run into a similar issue - by any chance, do you happen to have any add'l info, record or documentation about that compiler bug?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am having an issue with Full Inspector where the editor crashes when reloading the assemblies. I have crash reports with stack traces pointing to the insides of unity. When I take Full Inspector out of our project, it no longer crashes.
All lines are required for it to crash. If any are removed it would not crash.
Here is the stacktrace for the crash that occurs when we leave our editor scripts in the codebase:
We've also submitted a crash report to Unity, however I don't expect them to reply since we don't really have reproduction steps without sending our 50+ GB project to them.
Any help would be appreciated, I've already spent a few days trying to find this crash.
Thanks,
Tristan
The text was updated successfully, but these errors were encountered: