-
-
Notifications
You must be signed in to change notification settings - Fork 311
ArgumentNullException on first Play #235
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingneed more infoNeed more information to helpNeed more information to help
Description
NOTE: Your issue may already be reported! Please search on the issue tracker before creating one.
Describe the bug
ArgumentNullException is intermittently thrown whene existing Play mode the first time after re-opening the Editor.
To Reproduce
Steps to reproduce the behavior:
- Close Unity
- Open Unity
- Enter Play mode
- See error
Expected behavior
No exception is thrown
Environment (please complete the following information):
- Version [3.2.4]
- Platform: [Editor(Windows)]
- Unity version: [2023.2.20f1]
Additional context
ArgumentNullException: Value cannot be null.
Parameter name: objectToOverwrite
UnityEditor.EditorJsonUtility.FromJsonOverwrite (System.String json, System.Object objectToOverwrite) (at <8f5ff83e453e49179847370b820a0398>:0)
Coffee.UISoftMaskInternal.PreloadedProjectSettings`1[T].OnPlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at ./Library/PackageCache/com.coffee.softmask-for-ugui@3.2.4/Runtime/Internal/ProjectSettings/PreloadedProjectSettings.cs:169)
UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at <8f5ff83e453e49179847370b820a0398>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneed more infoNeed more information to helpNeed more information to help