Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0a1
2018.3.0a5
Issue ID
1061762
Regression
Yes
NullReferenceException on setting App ID in Facebook Player Setting
Editor throws NullReferenceException while setting AppID or uploading access token in Facebook Player Setting
Steps to reproduce:
1. Create a new project
2. File > Build Settings > Facebook
3. Player Settings > Publishing Settings > App ID or Upload access token
4. Enter App ID or Access token
Actual Result:
Observe NullReferenceException while typing App ID or Access token
Reproducible on:
2018.3.0a5, 2018.3.0a1
Working fine on:
2018.2.0f2, 2018.1.0f2
Environment :
Windows 10
Unable to check on MacOS due to BugID 1046782 - Facebook platform support is not detected by the editor on MacOS
Error Details
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Facebook.FacebookSettingsExtension.PersistChanges () (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/FacebookSettingsExtension.cs:37)
UnityEditor.Facebook.FacebookSettingsExtension.PublishSectionGUI (System.Single h, System.Single kLabelFloatMinW, System.Single kLabelFloatMaxW) (at C:/buildslave/unity/build/PlatformDependent/Facebook/Extensions/Managed/FacebookSettingsExtension.cs:252)
UnityEditor.PlayerSettingsEditor.PublishSectionGUI (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.Modules.ISettingEditorExtension settingsExtension, System.Int32 sectionIndex) (at C:/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:2548)
UnityEditor.PlayerSettingsEditor.OnInspectorGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs:580)
UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1531)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment