Error opening newScene.j3o

Hi,



I somehow messed something up during an edit of a scene file. Now I can’t open it or any new scene I try to create. It seems jME can’t find it. Even though the file is physically there. I’ve tried rebooting computer, deleting the file, creating new, creating a new in a different folder.



Any hints or ideas ?



[java]com.jme3.asset.AssetNotFoundException: C:/Users/Asser/Documents/myTDGame/assets/Scenes/newScene.j3o

at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:268)

at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:408)

[catch] at com.jme3.gde.core.assets.SpatialAssetDataObject.loadAsset(SpatialAssetDataObject.java:90)

at com.jme3.gde.terraineditor.EditTerrainAction$1.run(EditTerrainAction.java:66)

at java.lang.Thread.run(Thread.java:722)

[/java]



Kind regards,

Asser

can u open it up in the scene composer? and make sure the case is the same

@wezrule said:
can u open it up in the scene composer? and make sure the case is the same


No Scene composer fails with a similar error message:

[java]com.jme3.asset.AssetNotFoundException: C:/Users/Asser/Documents/myTDGame/assets/Scenes/newScene.j3o
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:268)
at com.jme3.asset.DesktopAssetManager.loadModel(DesktopAssetManager.java:408)
[catch] at com.jme3.gde.core.assets.SpatialAssetDataObject.loadAsset(SpatialAssetDataObject.java:90)
at com.jme3.gde.scenecomposer.OpenSceneComposer$1.run(OpenSceneComposer.java:38)
at java.lang.Thread.run(Thread.java:722)
[/java]

You probably messed up the project settings, there is no assets path defined.

@normen said:
You probably messed up the project settings, there is no assets path defined.


There is. Asset folder location is set to ./assets

I also tried asset folder = assets, same result.

It doesn’t create a relative path to the asset, the whole “C:/Users/Asser/Documents/myTDGame/assets” part should not be there really… So for some reason it doesn’t define an asset path. Try creating a new project and see if its the same there.

The composer works if I create a new project. I’ll try deleting my project and reloading it from repository.

Thanks for pointing me in the right direction. Something must have gone awry with the project settings, I reloaded from repository and it works again. Cheers.