Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2018.4
2019.1
2019.2
2019.3
2020.1
Issue ID
1181431
Regression
No
Unreferenced Material with "HideFlags.DontSave" is included in Build
Reproduction steps:
1. Open "1181431" project
2. Build & Run a Standalone player (Development build and Autoconnect Profiler enabled)
3. Take a Detailed Memory Sample from the Build
4. Expand "Assets" -> "Texture 2D"
5. Notice that the "Spritesheet_beatch_Horizon" is loaded and has 0 "Ref count"
Expected Result: "Spritesheet_beatch_Horizon" Sprite Sheet is not loaded, only the Sprite Atlas
Actual Result: Both the Sprite Sheet and the Sprite Atlas are loaded
Note:
Reproduces on: Mono and IL2CPP; DirectX11, DirectX12, Vulkan, OpenGLCore, OpenGLES2, OpenGLES3
Reproduced with: 2020.1.0a3, 2019.3.0b3, 2019.2.5f1, 2018.4.8f1, 2017.4.32f1
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:
The BuildPipeline.BuildAssetBundles apis have inherit problems with complex setups that cannot be solved without a rewrite. This rewrite was the Scriptable Build Pipeline package and this case is solved when building bundles using that package. https://docs.unity3d.com/Packages/com.unity.scriptablebuildpipeline@1.11/manual/GettingStarted.html