Search Issue Tracker
Not Reproducible
Votes
0
Found in
2017.3.0f3
Issue ID
989239
Regression
No
"Assertion failed:Unknown platform 6 in GetTargetPlatformGraphicsAPIAvailability" error is thrown when opening project
1. Open the attached "WebPlayer Repro" project
2. Observe the console
Expected result: No errors are thrown in the console
Actual result: "Assertion failed:Unknown platform 6 in GetTargetPlatformGraphicsAPIAvailability" error is thrown
Reproducible with - 2018.1.0b7, 2017.3.1p1, 2017.2.1p4
Note: This error is only happening when upgrading from older version (5.3 or earlier) and if project contained WebPlayer. This error is thrown because of m_BuildTargetGraphicsAPIs containing the deprecated WebPlayer as m_BuildTarget. This happens if user ever changed his Graphics API while on WebPlayer platform. Simply deleting the " - m_BuildTarget: WebPlayer" and two lines below it from Project Settings solves the issue
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