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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Add comment