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 mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
Add comment