Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.5.0p4
Issue ID
868016
Regression
Yes
Crash occurs when variable accessibility is changed from public to private (or vice versa). Material::SetFloatArray
Reproduction Steps:
1. Open Project
2. Open "ImageFlip.cs"
3. Make sure that variable at line 11 is set to public
like this: public Material _material;
4. Open Game view (do not start)
5. Click a few times on the screen if needed
6. Crash should occur
--
7. If it does not crash make variable not public, like this "Material _material;"
8. Do 4 and 5 steps again
9. Crash should occur
Expected behaviour: Error is thrown as script and shader are unfinished.
Actual result: When accessibility of variable _material is changed, crash occurs.
Reproduced on versions: Unity 5.5.0b11, 5.5.0p4, 5.6.0b3
Did not reproduce on versions: Unity 5.4.4p1, 5.5.0b10
Regression introduced: Unity 5.5.0b11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Error "cannot map expression to ps_4_0 instruction set" in Shader Graph preview when using the GATHER_RED_TEXTURE2D macro in custom hlsl function
- Sprite Renderer image is changed when Mask Interaction is turned by C# script
- URP Player remains in Windows Background processes when the application is closed
- [Android] The built-in URP shaders Lit, Complex Lit and the Simple Lit are not rendered when built on Android devices with an Adreno 300 series GPUs
- "Radio Button" disappears when added under the "RadioButtonGroup" and the parent Visual Element is selected
Add comment