Search Issue Tracker
Fixed in 2019.3.X
Votes
4
Found in
2018.2.0b2
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1031630
Regression
No
Unity build process freezes when compiling shader
How to reproduce:
1. Open the "Shader_Crash.zip" project
2. Build the "16-Shader.unity" scene
Actual result: Unity freezes.
Reproducible with: 2019.2.0a3, 2019.1.0b1, 2018.3.4f1, 2018.3.0a1.
Notes:
On 2018.1 and 2018.2 the build completes, but Player crashes instantly. (Stack trace attached)
Errors are thrown during the building process:
"Assertion failed: Assertion failed on expression: 'ptr == NULL || !HAS_ROOT_REFERENCE(GET_CURRENT_ALLOC_ROOT_REFERENCE()) || GET_CURRENT_ALLOC_ROOT_REFERENCE() == GET_ROOT_REFERENCE(s_MonoDomainContainer, kMemMono)'"
"Assertion failed: Lz4 doesn't support input or output data size > INT_MAX"
---------------------------------------------
Unity is actually not frozen. Compile time and progress bar was improved.
Fixed in 2019.3.0a5, 2019.2.0b7.
Comments (1)
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
GlowfishInteractive
Feb 05, 2019 13:34
I'm currently encountering this issue when upgrading a project from 2017.4.14 to the 2018 versions of Unity.
This is fully stopping us from creating a working build of our game !
As of 2018.3 the error has changed to the following message instead: "Standard: Too large shader binary (-1911378036 > max 2147483647 bytes) - compression failed. Try reducing the number of variants or shader complexity."
Potential helpful info: https://forum.unity.com/threads/standard-too-large-shader-binary-1911378036-max-2147483647-bytes-compression-failed-try-red.618550/?fbclid=IwAR3RzbnhARyEkrcPOD6DWn_n7Zd0jkn2TAGAoZ121DYX9TQPl3UmBl4yLlY#post-4144252