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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment