Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Won't Fix in 2017.2.X
Votes
0
Found in
2017.2.0f3
2017.3.0b8
Issue ID
967806
Regression
Yes
Using Application.internetReachability with OnGUI causes errors in the Console
Reproduction steps:
1. Open the attached project "OnGUIBugReport_U20173.zip";
2. Open the "Test" scene;
3. Enter a play mode;
4. Try to resize the Game view.
Expected results: the result of internetReachability will be displayed and resizing the Game window won't affect it.
Actual results: the result of internetReachability is displayed, but after resizing the window, errors in the Console start appearing.
Reproduced on: 2017.2.0f3, 2017.2p2, 2017.3.0b9, 2018.1.0a4.
Not reproduced on: 2017.2.0f2, 2017.1.2p3 and lower.
Regression has started: 2017.2.0f3.
Note: Error, which is shown in the console:
GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly.
NullReferenceException: Object reference not set to an instance of an object UnityEngine.GUILayoutUtility.Layout () (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayoutUtility.cs:147) UnityEngine.GUIUtility.EndGUI (Int32 layoutType) (at C:/buildslave/unity/build/Runtime/IMGUI/Managed/GUIUtility.cs:228)
Assertion failed: Assertion failed on expression: 'device.IsInsideFrame()'
Fixed in 2018.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
Add comment