Skip to content

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

Description

@djo90

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions