Unable to access player settings

Just installed UnityDownloadAssistant-5.5.1p2 with all needed modules.

Got same error: Unable to access player settings/ resolution and presentation - Unity Engine - Unity Discussions

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PlayerSettingsEditor.BeginSettingsBox (Int32 nr, UnityEngine.GUIContent header) (at C:/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:516)
UnityEditor.PlayerSettingsEditor.ResolutionSectionGUI (BuildTargetGroup targetGroup, ISettingEditorExtension settingsExtension) (at C:/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:683)
UnityEditor.PlayerSettingsEditor.OnInspectorGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:453)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1227)
UnityEditor.DockArea:OnGUI()

How can I fix it?

So sad, I also meet the same problem.

Unity 2017.1.p5, just get the same error. Any suggestions from devs about how to fix it?

Reinstall of unity did not solved the problem. I have tried to delete ProjectSettings.asset from project but also didn’t helped. I run into this issue after some switches between platforms IOS ← WebGL → Facebook

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.PlayerSettingsEditor.BeginSettingsBox (Int32 nr, UnityEngine.GUIContent header) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:603)
UnityEditor.PlayerSettingsEditor.ResolutionSectionGUI (BuildTargetGroup targetGroup, ISettingEditorExtension settingsExtension) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:783)
UnityEditor.PlayerSettingsEditor.OnInspectorGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:535)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1240)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

I installed UnityDownloadAssistant-5.6.3p1 from 5.6.1p3 and I got the problem. Than I installed the 5.6.3.p2 and the problem still . After that, I uninstall Unity and installed it again (5.6.3.p2) and it did not solved the problem.

You get the problem on a clean project or existing one?

Same problem here :frowning:

So what i did to solve the problem:
(I’m on Macbook)

  1. Deleted Unity and all it’s cache
  2. Deleted content from /Library
  3. Installed Unity 2017.2p10 beta and updated the project since reinstalling unity 2017.1 didn’t helped :slight_smile:
  4. Downgraded Facebook SDK to version 7.9.4

Thanks,
Actually i had no problem with my Macbook (IOS platform), only with my Android/PC platforms (my game is multiplatform).
I’ll try your suggestions and will reply soon :slight_smile:

I mean, i work on Macbook :smile:

Solved, thank you!
No need to delete the Library, just the Facebook SDK folder.
Downgraded of Fadebook SDK indeed solved the problem, something is wrong with 7.10 / 7.10.1

Solved here too!

Solved here too. Thank you!
I just did the iten 4: downgraded the Facebook SDK from version 10.0 to version 7.9.4.

I just downgraded the SDK Facebook. Thank you!

I had the same issue within unity 2017.1.1.f1. As soon as I had uninstalled the facebook gameroom playback engine part, my project (which included the facebook SDK package 7.10) was working as expected.

Downgrade solved that issue as well.
So both ways seems to be valid and provide some kind of fix

Reported to facebook sdk SDK 7.10.0 Block unity player settings window · Issue #102 · facebook/facebook-sdk-for-unity · GitHub maybe in 5-6 months,acording to they activities there, it will be fixed :confused:

Guys, who have the same problem please post on https://developers.facebook.com/bugs/157574278132186/ maybe it will help to speed-up the fix.

1 Like

Guys Can you help me pls,how can I downgrade/delete facebook files?where is the path of it.

Just delete FacebookSDK folder and install older version.

If someone is still interested in this, i recompiled the git sources of the plugin and fixed this issue. Also i did get rid of editor errors. Here https://drive.google.com/open?id=0BxVp4Kknjm_iQXhlMV9IMzhTa0k you can download-it and try. Don’t be confused by version number, i named it 7.9.4 just to make unity editor happy and get rid of error “Unknown sdk”, inside you will find version 7.10.0. Seems that in unity there is a “MAX Allowed” version of facebook sdk stored. If someone have questions, write me a message.

I had the same issue Delete facebook SDK and install older version
Solved