Search Issue Tracker
By Design
Votes
0
Found in
5.0.0b7
Issue ID
637183
Regression
Yes
GameObject.CreatePrimitive shows magenta in builds
To reproduce:
1) Create new project
2) Create C# script which would have this in it(inside Start(), for example):
GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube);
3) Play it, notice that it looks white-ish like it should.
4) Build and run it on any platform
5) Notice that the cube is in magenta now.
I guess you could count instantiating a cube prefab as workaround, though it's very silly.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Scale Snapping with Gizmos does not work in the Scene view when Snapping and Absolute Grid Snapping are toggled off
Add comment