Model not found error when model is in the correct assets folder

I have imported a model (.blend file) and I am able to see this model in the scene composer. It has been converted to a .j30 file and when I reference it in my code to attempt to load it in the game it throws an error that the model can’t be found. Any help would be much appreciated!
Here is the code in question to load the model. The file path in the properties of the model is given as /home/charliemcc/Test/assets/Models/tree/tree.j3o

Spatial tree = assetManager.loadModel("Models/tree/tree.j30");
    tree.rotate(0.0f, 0.0f, 0.0f);
    tree.setLocalTranslation(0.0f, 0.5f, -2.0f);
    DirectionalLight sun = new DirectionalLight();
    sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f).normalizeLocal());

J3o not j30, the letter “o” not 0

omw thank you so much feel like such a dummy lol

1 Like