Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b17
Issue ID
627785
Regression
No
LayoutRebuilder error thrown after changing Text.text value several times
To Reproduce:
1. Open the attached 'ReproProjTextUpdate.zip' and run 'testScene'.
2. Notice that after ~5 seconds 6 identical exceptions are thrown:
'Trying to add UnityEngine.UI.LayoutRebuilder for layout rebuild while we are already inside a layout rebuild loop. This is not supported.
UnityEngine.Canvas:SendWillRenderCanvases() '
3. This happens anywhere between the 5th-8th update and there are always 6 exceptions, the value seems to be changed correctly even when they are thrown.
4. This behavior is independent from the time period between the updates, you can change the coroutine in testScript.cs to run every frame, it will still happen after similar number of updates.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment