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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment