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
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- Inconsistent hotkeys in the Terrain tool with the "Terrain Tools" installed and not installed
- "DebugAllocatorMode" option changes when changed in another Editor instance
Add comment