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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment