Start a new topic

Unity WTC Editor: Could not import Image

hey there,


I'm currently trying to create a wtc-file inside unity but when I click on [Create] and select an image, I get the error-log:

Image MarkerHardturm could not be imported!

UnityEngine.Debug:LogError(Object)

WikitudeEditor.TargetProjectPanel:OnInternalGUI()

WikitudeEditor.EditorPanel:OnGUI()

WikitudeEditor.EditorSplitter:OnInternalGUI()

WikitudeEditor.EditorPanel:OnGUI()

WikitudeEditor.TargetCollectionEditor:OnGUI()

UnityEditor.HostView:OnGUI()


I'm using Unity 2017.1 with the SDK 7.


I'll use the online creator for now, but using the offline-tool would be really nice.

thank you and have a nice day,

simon


1 person has this problem

Hi,


Thanks for reporting this issue.


Unity 2017.1 made an undocumented API change where Texture2D.LoadImage was changed from being a static method to being an extension method. While this doesn't affect scripts in regular Unity projects, it breaks our compiled dll files. We are working on a fix for this.


In the mean time, if you still have Unity 5.6 installed, you can use that to generate wtc files and move them to your 2017.1 project. I apologize for the inconvenience.


Best regards,

Alexandru.


3 people like this

Any update on this fix?


1 person likes this
Hello Simon,

Could you please tell me which OS version you are using and could you also send the marker with the .meta file?

Thanks
Eva

 

I'm using Windows 10. The file is attached.

zip
Login or Signup to post a comment