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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment