Read texture map file failed error

0 votes
asked Apr 30, 2023 by mattratcliffe (120 points)
edited Apr 30, 2023 by mattratcliffe

Hi there

I am trying to get my own object target working. The .obj and associated .mtl has been found but it fails to read the texture map file.

Warning: Read texture map file: file:///Hobgoblin\textured_0_2XigN7ed.jpg failed

UnityEngine.Debug:LogWarning (object)
easyar.EasyARController/<>c:<Initialize>b__28_0 (easyar.LogLevel,string) (at Library/PackageCache/com.easyar.sense@acfda8e1d4fe/Runtime/EasyARController.cs:92)
easyar.Detail:FunctorOfVoidFromLogLevelAndString_func (intptr,easyar.LogLevel,intptr,intptr&) (at Library/PackageCache/com.easyar.sense@acfda8e1d4fe/Runtime/Binding/csapi.cs:3067)
easyar.DelayedCallbackScheduler:runOne () (at Library/PackageCache/com.easyar.sense@acfda8e1d4fe/Runtime/Binding/csapi.cs:10499)
easyar.EasyARController:Update () (at Library/PackageCache/com.easyar.sense@acfda8e1d4fe/Runtime/EasyARController.cs:237)

Here is my mtl file:

newmtl textured_0
illum 4
Kd 0.00 0.00 0.00
Ka 0.00 0.00 0.00
Tf 1.00 1.00 1.00
map_Kd textured_0_2XigN7ed.jpg
Ni 1.50
Ks 0.00 0.00 0.00
Ns 10.00

Has this failed because it can't find the .jpg or because it failed to read the jpg file. The jpeg is in the same StreamingAssets folder as the .obj and .mtl.

I have run through the guides several times but cannot seem to get this work. Any help much appreciated. 

thanks
Matt

Please log in or register to answer this question.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...