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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Add comment