Search Issue Tracker
Fixed in 5.1.0
Votes
0
Found in
5.0.0p3
Issue ID
684880
Regression
No
WebGL throws an exception on GameObject.CreatePrimitive(PrimitiveType.Cube)
Reproduction steps:
1. Open the attached project "WebGLCrPr"
2. Build the scene "bug" for WebGL
3. Run the game, wait for 2 seconds after the game is loaded
4. A cube should be created via GameObject.CreatePrimitive(PrimitiveType.Cube), but we get an exception
Notes:
1. I've also tried creating PrimitiveType.Cylinder and PrimitiveType.Sphere, non of these throw an exception,
but the primitives aren't created.
2. Tested with both Firefox and Chrome
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
JoeStrout
Jul 02, 2016 13:56
The bug still occurs in 5.3.4 (assuming this is the same as https://issuetracker.unity3d.com/issues/webgl-createprimitive-fails-to-create-required-components).