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
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
- [URP] Crash on GameObject::QueryComponentByType when baking a Reflection Probe in an unsaved/untitled Scene
- No Icons are used for the Entry and Exit States in the Inspector when selected in an Animator Controller
- Crash on PlayerMain(int, char const**) when exiting Standalone Player with a Particle System in the Scene
- No Icon is used for the Runtime Animator Controller Type in a Search Window when assigning an Animator Controller in the Animator Component
Add comment