Assertion failed: Unknown platform 6 in GetTargetPlatformGraphicsAPIAvailability

I’ve just updated to 2017.2_0f3 and this error message keeps appearing every time when opening a project.
It’s an error, a warning regarding WebPlayer and then the same error again

3253569--250598--upload_2017-10-14_16-18-22.png

I’ve searched for some info, but couldn’t find a thing.
I thought that there has to be something in ProjectSettings.asset, and even cleaned all custom compiler defines, but it didn’t really help.

I’ve tried using 2017.2_f1 before (or a similar version which was available on site, not a “beta” one) and it didn’t show these errors.

As for WebPlayer warning - this thing is long gone, right? We didn’t use it in our project at all

1 Like

meet same error. But it seems do not cause any problem in game.

Also seeing this problem after updating to the latest version of Unity.

Also seeing this problem with Unity 2017.3.0p1. Two of these come up every time I start Unity with my project.

likewise - 2 every time. What is this Unity?!

1 Like

same here on 2017.3.0f3. do not know of any side effects yet.

1 Like

Also seeing problem in 2017.3.0p1

Try this anyone with the problem (might want to back up file!):
Close project
Open ProjectSettings.asset
Find reference to [now dead] webplayer buildtarget (the build platform 6 mentioned in editor log)
Delete the line and 2 related lines below it
Open project - see if error gone.

6 Likes

That fixed it for me. Thanks

How do you open and edit an asset file?

notepad/notepad++ It is a text file really

1 Like

Thank you:) I opened it in TextEdit - im on mac - but all i see is this kind of text.

4927181--477764--Screen Shot 2019-09-03 at 1.09.26 PM.png

I mean if your editor settings are not set to “Asset Serialization - Force Text” you may have binary asset files? But I’m on windows

1 Like

I have a huge 25gb project file

If i choose FORCE TEXT does that harm my project in any way?

Why is the default binary? Is it better than text?

Why is there no official answer?
Same problem here in 05/2020 !

Im using 2019.3.9f

and the error is “Unknown platform 3” with nothing else (!)

same in my project! Unknown platform 3! Did you found out anything?