[SOLVED] Unable to parse Build Profile Error In Console - Unity 6 (6000.0.0b16)

Hello Respected,

We upgraded to Unity Editor 6 (6000.0.0b16), and we love the new feature for creating Build Profiles, and possibility to configure/override settings for each profile.

But we are seeing an error each time when we create/edit a Build Profile or start a build. No interruption problems with the game or the build, all is fine, but the errors appear always.

Please find the error below:

Unable to parse file Assets/Settings/Build Profiles/XboxOne.asset: [Parser Failure at line 209: Expected closing ‘}’]
UnityEngine.GUIUtility: ProcessEvent (int,intptr,bool&)

When we go to XboxOne.asset, we are seeing that the file is fine. Also, the game is fine, and the build created with the Build Profile is fine.

We just wanted to reach out to you in case there is a fix and stop seeing this error in Unity Console all the time.

We are seeing the same problem for Build Profiles created for all platforms.

Thank you,
Riste Tutureski

This happens to me with Windows and Windows Server Build Profiles also on 6000.0.4f1 and has been for quite a while. Did you create a formal bug report?

No, I didn’t. I wanted to be sure first that it’s not only on my machine.

I made a bug report on it yesterday.

Had the same issue today, 6000.0.2f1. I opened the asset file and looked through it a bit. I did not see anything on the error line given (not trustable), but I did find this…
Going by how the metroTileBackgroundColor is written, the metroSplashScreenBackgroundColor looks all messed up. I an not sure if this is the issue, but if not, this is likely a different issue to be solved.

QA came back and said “they had not heard back from me” despite the fact I had sent a project file to them seven days ago when they said they could not repro this issue. Immediately after bug got changed to “not qualified”. This bug is real and exists and we have at least 3 people encountering it.

I attached a project file that replicates the error (for me) can someone from Unity check this to make sure the ticket (IN-78125) is reopened with this?

9894024–1428387–BuildProfileError.zip (432 KB)

1 Like

I can confirm this bug is still in Unity 6000.0.5f1.
It also has weird side effects like: the build scenes list is sometime missing a scene.

1 Like

This old issue is nearly identical. Did the old fix for this become undone? It would be nice if a Unity dev to note if the right people have seen this thread.

same issue when i create PlayerSettingsOverrie on any BuildProfile, so i just dont use this overrides (unity 6000.0.4, 6000.0.5, 6000.0.7)

Still same issue with Unity 6000.0.11f1 (latest as of today) :weary:

Just create a build profile, add a custom player settings and change any value, got the error in the console.

Unable to parse file Assets/Settings/Build Profiles/Desktop.asset: [Parser Failure at line 99: Expected closing '}']

I don’t have the error anymore after checking the option “Project Settings → Editor → Asset Serialization → Reduce version control noise” :grinning:

1 Like

I can confirm that I have the same issue with missing scenes in the build scenes list. The scenes who got missing are these who are loaded in the hierarchy.

I have checked this option and still have the same issue. Will try to uncheck->check again …

But we have to use this option. We have to override some settings based on the profile.

You can reopen it by replying to the email :slight_smile:

Hello @MartinTilo,

We moved to Unity 6 (6000.0.15f1) and the issue is gone now.

Thank you,
Riste Tutureski

1 Like