Search Issue Tracker
Fixed in 5.3.7
Votes
0
Found in
5.3.6f1
Issue ID
821208
Regression
Yes
[Materials] Crash in some cases after doing Material.CopyPropertiesFromMaterial, regression in 5.3.x
How to reproduce:
1. Open the attached project and "Ice Cubes" scene in it.
2. In the Hierarchy window expand Ice Cubes and select the first one of them.
3. In the Inspector window under the Glass script expand Materials.
4. Click "Create 'Ice Cube 1' Materials" and observe new materials were created.
5. Click "Update Shared Glass Materials" and notice the crash.
Expected behavior: No crash while assigning/editing newly created materials.
Actual behavior: Editor crashes at Shader::GetActiveSubShaderIndex while assigning/editing newly created materials.
Reproducible: 5.5.0a5, 5.4.0f3, 5.3.6p2, 5.3.4f1
Not reproducible: 5.3.2p3, 5.2.4f1
Comments (2)
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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
SnooksV3
Apr 09, 2023 03:29
Still crashing in Build.
SunnyChow
Sep 26, 2016 08:07
5.4.0f3 still get this problem. yesterday it's still working. Today it crashes. but it's funny that it only crash in editor but not in build