Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2019.4
2019.4.11f1
2020.2
2021.1
2021.2
Issue ID
1310749
Regression
No
GuiStyleState texture references become null when exiting Play Mode while GuiStyle reference stays
How to reproduce:
1. Open the attached project
2. Click Bug > Window
3. Click Play
4. Exit Play Mode
Expected result: Window stays white
Actual result: Window becomes default color
Reproducible with: 2018.4.30f1, 2019.4.19f1, 2020.2.4f1, 2021.1.0b5, 2021.2.0a4
Notes:
1. When entering Play Mode or after compiling _style becomes null, so it gets regenerated
2. When exiting Play Mode the _style reference stays, but textures disappear, causing the background to fall back to defaults
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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Resolution Note:
This is by design and the users will need to recreate the textures if they are not present