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
- Scene/Game view visually breaks and console is spammed with errors when using DepthBlit Sample Scene
- "GetOrAddComponent" method in "Unity.VisualScripting" returns "MissingComponentException" error when the "BoxCollider" Component doesn't exist
- Render Graphs Kebab Menu Buttons are missing padding and Highlight is uneven when hovered over
- Shader Keywords are not detected when defined in include files
- Right-clicking on Blackboard and Graph Inspector calls the contextual menu of the workspace
Add comment