Click Build button and unity stopped

No error messages, no progressing bar, no sign of activity at all.

Unity just stopped. Seeing working admins window by ctrl+alt+del key, Unity says “No response”

Why this happen and what should I Do?

Build for windows 86 for testing for measuring final build’s file size, include just one scene, many 3d monster models,

total current project’s file size is 35 giga.

After waiting like 10~20 mins, it says compile or scripting error exist, but actually there is no script compile error because if it exist, I can’t delete its message but this time I can delete whole. So this is because I changed Input manager system from old to new? And this input managing system checked only when building?

I got this script compile error.

Assets\Script\UI\InspectorGUIScript.cs(211,2): error CS0246: The type or namespace name ‘CustomPropertyDrawerAttribute’ could not be found (are you missing a using directive or an assembly reference?)

Assets\Script\UI\InspectorGUIScript.cs(153,29): error CS0246: The type or namespace name ‘PropertyDrawer’ could not be found (are you missing a using directive or an assembly reference?)

Assets\Script\UI\InspectorGUIScript.cs(134,47): error CS0246: The type or namespace name ‘SerializedProperty’ could not be found (are you missing a using directive or an assembly reference?)

Assets\Script\UI\InspectorGUIScript.cs(65,26): error CS0115: ‘MonStatusDrawer.OnGUI(Rect, SerializedProperty, GUIContent)’: no suitable method found to override

something like these, over 70 errors.

The PropertyDrawer class that you used inside the InspectorGUIScript is only avaliable inide the editor.
Define your custome property dawer in a script that is inside the a folder called editor.

Yes you are right, so I googled and this script should be in Assets-Editor folder.

And I changed to script from Mono to IL2CPP, and it also caused problem. So I changed to back to Mono, and build file making succeeded.

1 Like