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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment