Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppCenterEditorHelper.uiStyle is null on 2019.2 #51

Closed
GenGames opened this issue Mar 7, 2021 · 3 comments
Closed

AppCenterEditorHelper.uiStyle is null on 2019.2 #51

GenGames opened this issue Mar 7, 2021 · 3 comments

Comments

@GenGames
Copy link

GenGames commented Mar 7, 2021

I just added the SDK into my project, when I open the Window>App center, the editor tab is blank and a handful of errors show up in the console, pasted below for reference. Looks like the uiStyle set up in the AppCenterEditorHeloper is being read as null, I've tried plugging a couple of leaks or doing a handful of small quick workarounds, but have quickly found that uiStyle isn't something that can be easily bypassed. I may have perhaps have messed up when implementing the sdk? when I downloaded and unzipped the package, I did so in a plugins folder of my project's root folder (though the plugins folder is still within the project of course)? I didn't see any notes anywhere saying that anything but the AppCenterEditorExtensions Folder should be in the root.

I'm using Unity 2019.2.4 and downloaded the current version of the App Center SDK (3.0).

uiStyle == null error

NullReferenceException: Object reference not set to an instance of an object
AppCenterEditor.AppCenterEditorMenu.DrawMenu () (at Assets/ARPlugins/AppCenter-SDK-Unity-Extension-develop/Source/Assets/AppCenterEditorExtensions/Editor/Scripts/Panels/AppCenterEditorMenu.cs:22)

unknown error

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Let me know if there's anything else that would be helpful for troubleshooting. Thanks all

@Jamminroot
Copy link

Hey, @GenGames, thanks for reaching out.

We've tested Unity SDK on a sample project with unity version 2019.2.4f1 - and could not reproduce the problem. Can you check if the problem is reproduced for you on a clean project?

@GenGames
Copy link
Author

GenGames commented Mar 9, 2021

Thanks for the response,

Upon reimporting the unity package file, we realized that this was an issue with some of our content using similar naming conventions, upon resolving that discrepancy and reimporting the package + restarting the editor the problem was resolved. Sorry for the trouble!

@GenGames GenGames closed this as completed Mar 9, 2021
@Jamminroot
Copy link

Glad to hear it's resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants