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
- DisplayDialogComplex crashes with a long content string containg Cyrillic chars
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
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