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
- Error ‘cannot use casts on l-values’ when a variable is assigned inside a second-level nested if statement before being used in a conversion
- "You cannot save to an invalid folder" warning dialog box is shown when canceling Tile Palette creation
- Global Volume visual details are blurred when Tonemapping mode is set to any other than 'ACES'
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
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