Search Issue Tracker
By Design
Votes
0
Found in
2019.3.0b6
Issue ID
1188413
Regression
No
[DotsShooter] BuildSettings asset is unloaded during build
Steps to reproduce :
- import the dots sample project
- select menu item A2/Bugs/Build gets wrong executable name
- wait for build to finish
- observe that executable in builds/Win-Client has name "Default Product.exe" instead of "DotsSample.exe"
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
- 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
Resolution Note:
This is by design. Unloading of assets does not inspect locals, only statics. Workaround is to store the variable in a static.
See docs: https://docs.unity3d.com/ScriptReference/Resources.UnloadUnusedAssets.html