Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2017.2.0f3
Issue ID
959254
Regression
Yes
"Trying to add UI_Console" and other errors pop up when SetActive() method is called
How to reproduce:
1. Open attached Unity project "Dwarf Mountain New"
2. Load scene "Game"
3. Enter Play mode
Expected Result: Game plays without any errors
Actual Result: "Trying to add UI_Console (UnityEngine.UI.Image) for graphic rebuild while we are already inside a graphic rebuild loop. This is not supported." and similar errors occur.
Regression first introduced in: 2017.2.0a1.
Reproducible with: 2018.1.0a1, 2017.3.0b5, 2017.2.0f3, 2017.2.0a2.
Not reproducible with: 5.5.5p1, 5.6.4f1, 2017.1.2p1, 2017.2.0a1.
Note: SetActive() method is located in WindowConsole.cs script, line 105.
Comments (27)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
- AssetBundle Variants do not switch when a Sprite (2D and UI) texture is referenced from a Material
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
mitaywalle
Mar 17, 2020 18:26
use this:
- https://docs.unity3d.com/ru/current/ScriptReference/UI.CanvasUpdateRegistry.IsRebuildingGraphics.html
...
- https://docs.unity3d.com/ru/current/ScriptReference/UI.CanvasUpdateRegistry.IsRebuildingLayout.html
AroGD
Oct 10, 2019 16:23
I have the same problem in Unity 2019.2.8f1, any solution so far?
whuaso79
Mar 29, 2019 01:37
happening in 2018.3 again
jtremblay_unity
Feb 19, 2018 02:38
So was this resolved for 2017.2.0f3?