Community Forum

GE Error - Error: Failed to open xml file

Forum Overview >> Editor

Created08.04.2022 14:34

Martin Higgins (BlueFox) 08.04.2022 14:34
I have a really simple [I assume] mapping error that I can't get to the bottom of and has been driving me crazy for hours..

When I try to load an i3D file I get the following error:
Error: Failed to open xml file 'C:/Users/UserName/Desktop/Program Files (x86)/Steam/steamapps/common/Farming Simulator 22/data/shaders/vehicleShader.xml'.

When I search the error I always come back to the the same feedback to check the GE preferences, which appear to be correct and are set to:
C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 22/data/

Does anyone know where GE is pulling the error mapping from and what I need to change?

Thanks in advance

Jalikulli (luckycol) 08.04.2022 19:17
I think you have just wrong adress to your .xml in your .i3d file. or in another xml file.

Ed Propsner (crotchfrog) 08.04.2022 20:18
Yup, definitely seems to be a file path issue. Try erasing the /data from the path so it looks like C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 22/

Martin Higgins (BlueFox) 09.04.2022 11:14
Thanks for the feedback and ideas - seems that it might be how I'm mapping the xml in Blender rather than GE, still working on it but appreciate the direction to look in

Ed Propsner (crotchfrog) 09.04.2022 13:41
The file path in the error itself does not look right at all. I don't know of any instances where Program Files (x86) would be stored on the desktop, but yet that's what it is indicating. When you check GE preferences, if you are talking about the installation path, what you have listed there is not correct. Open up the .i3d that is throwing that error in a text editor and tell us what is the file path listed for vehicleShader.xml?

Martin Higgins (BlueFox) 09.04.2022 15:34
Yes, this is what's been baffling me - clearly my program files are not stored on desktop so there's something in the xml pointing to the wrong place. looking in the xml I think the issue is clear:
filename="../../Program Files (x86)/Steam/steamapps/common/Farming Simulator 22/data/shaders/vehicleShader.xml"/>

there isn't a correct path specified... if I update this to
filename="C:/Program Files

Then I have no issues... so it seems that the root of the issue is with the xml output from Blender (rather than input from GE).. next step is fixing that, which seems like it should be simple, yet kills me!

At least I have a work around - thank you for the help and support

Note: Log in to post. Create a new account here.