Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2019.1.0a1
2019.1.0a9
Issue ID
1101131
Regression
Yes
[Profiler] IConnectionState error thrown on enabling ordisabling Color Blind Mode from context menu while profiling data
IConnectionState error thrown in console on enabling or disabling Color Blind Mode from context menu while profiling data
Steps to Reproduce:
1. Create a new project
2. Window > Analysis > Profiler
3. Hit play
4. Enable Record toolbar of profiler window
5. Enable or disable Color Blind mode from context menu
Actual Result :
Mode toggles from Color Blind Mode to normal with a IConnectionState error in Console
Expected Result
Mode should toggle without any errors
Reproducible on:
2019.1.0a9, 2019.1.0a1
Works on:
2018.3.0b11, 2018.2.0f2
Environment:
Windows and Mac
Note:
1.On Mac InvalidOperationException is thrown along with IConnectionState error
2. Refer attached video
Error Details:
1. IConnectionState was not Disposed! Please make sure to call Dispose in OnDisable of the EditorWindow in which it was used.
UnityEditor.Experimental.Networking.PlayerConnection.GeneralConnectionState:Finalize()
2. (Only on Mac)
InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread
UnityEngine.Object.EnsureRunningOnMainThread () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:148)
UnityEngine.Object.GetInstanceID () (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:68)
UnityEngine.Object.IsNativeObjectAlive (UnityEngine.Object o) (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:177)
UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:135)
UnityEngine.Object.op_Inequality (UnityEngine.Object x, UnityEngine.Object y) (at /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:396)
UnityEditor.AudioMixerWindow.OnPauseOrPlayModeStateChanged () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Mixer/GUI/AudioMixerWindow.cs:301)
UnityEditor.AudioMixerWindow.OnPauseStateChanged (UnityEditor.PauseState state) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Audio/Mixer/GUI/AudioMixerWindow.cs:290)
UnityEditor.EditorApplication.Internal_PauseStateChanged (UnityEditor.PauseState state) (at /Users/builduser/buildslave/unity/build/Editor/Mono/EditorApplication.cs:291)
UnityEditor.Experimental.Networking.PlayerConnection.GeneralConnectionState:Finalize()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
- Mixers do not have "Rename" in the right-click context menu when a Mixer is right-clicked in the Audio Mixer window
Add comment