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
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
- Crash on OnDemandScheduler::HandleImportWorkerLogs when performing various Unity operations
Add comment