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
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
- Stencil buffer is incorrectly cleared across Vulkan render passes during depth-only clear operations when using CommandBuffer API
- A non-existent webpage is opened when "Learn about Unity Build Automation" hyperlink is clicked
Add comment