Search Issue Tracker

By Design

Votes

0

Found in

2019.3.0b6

Issue ID

1188413

Regression

No

[DotsShooter] BuildSettings asset is unloaded during build

Scripting

-

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"

  1. 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

Comments (1)

  1. shubhamswaraj2021

    Aug 18, 2020 09:10

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.