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

ArgumentException: The thing you want to instantiate is null #57

Open
djo90 opened this issue Aug 11, 2016 · 2 comments
Open

ArgumentException: The thing you want to instantiate is null #57

djo90 opened this issue Aug 11, 2016 · 2 comments

Comments

@djo90
Copy link

djo90 commented Aug 11, 2016

I imported the whole package in my project. It works fine!

I can easily create ui elements by dragging them from the folder "ComponentPrefabs" to my hierarchy.

However, when I want to directly create an ui elements using right click mouse button in the hierarchy and selecting "Material UI", I always get the same error message :
UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:102)
UnityEngine.Object.Instantiate (UnityEngine.Object original) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.cs:87)
MaterialUI.MaterialUIEditorTools.CreateRoundButtonRaised () (at Assets/UI Google/Editor/MaterialUIEditorTools.cs:136)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)

@nah0y
Copy link
Contributor

nah0y commented Aug 11, 2016

Hey :)

I think it's because you downloaded the zip and extracted it to your Assets folder with the name "MaterialUI-master". You should rename that to "MaterialUI" and everything should work just fine!

@Thodoris-Evangelakos
Copy link

That's not the case for me, the folder is properly name MaterialUI in the assets and I still get the error

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

3 participants