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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Add comment