ARjs_Unity icon indicating copy to clipboard operation
ARjs_Unity copied to clipboard

unable to create Imagetargets

Open Jorg313 opened this issue 3 years ago • 0 comments

I seemingly cant add image targets even though I used your guide for installment. I tried it with the version 2018.4.36f , 2018.3.0f2 and 2020.3.12f1. I always get the very same error:

Could not create asset from Assets/AR.js-master/AR.js-master/data/images/box.png: File could not be read UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

and

ArgumentException: The Object you want to instantiate is null. UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:383) UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:206) UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) (at C:/buildslave/unity/build/Runtime/Export/UnityEngineObject.bindings.cs:285) ARGameObjectCreator.PlaceImageTargetPrefabInScene () (at Assets/ARjs_Unity/ARjs_Unity-master/Editor/ARGameObjectCreator.cs:18) UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32) (at C:/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:119)

Update: Today it worked. Seemingly the file box.png created problems. Simply swap it for a different file with the same name! I advbise a picture out of doom eternal for coolness.

Jorg313 avatar Jun 24 '21 07:06 Jorg313