Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b1
Issue ID
900217
Regression
No
[WebGL] UI missing from standard assets build with .NET 4.6
-e: see title, some errors are thrown when running the build
--works well with old .NET 3.5
--works for iOS build with .NET 4.6
--disabling stripping doesn't change the behaviour
-repro:
--get Standard Assets from A$
--switch to .NET 4.6
--build for WebGL
--run build
--NOTICE you are missing the UI in the top right corner and several errors are logged in the browser console:
---Rethrow as TypeInitializationException: The type initializer for 'UnityEngine.UI.Graphic' threw an exception.
---MissingMethodException: Default constructor not found for type System.Collections.Generic.List`1[[UnityEngine.Canvas, UnityEngine, Version=0.0.0.0, Culture=, PublicKeyToken=null]]
--Thrown on each click in the scene:
---MissingMethodException: Default constructor not found for type System.Collections.Generic.List`1[[UnityEngine.EventSystems.IEventSystemHandler, UnityEngine.UI, Version=1.0.0.0, Culture=, PublicKeyToken=null]]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment