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

Graphics - General

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.