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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Add comment