Jump to content

Bad File Location?


Dave Adams
 Share

Recommended Posts

I recently did an uninstall/reinstall. Created a new project using the "Tutorial Samples" template and named it "Tutorials". I loaded the project for the first time and I received an error: Failed to load map "C:/Users/david/Dropbox/Leadwerks/Projects\Tutorials/Maps/start.map". Not sure why some of the slashes are forward and some back slashes in the project name, but this is what it shows in the information window. Loaded "Object Scripts.map" which has the "fan_blades" object, a light and a camera. Started debugging but didn't see fan blades due to an error: "Failed to load model "C:/<my file path>/Leadwerks/Projects/Tutorials/fan_blades.mdl". I have Project path set to "C:/Users/David/Dropbox/Leadwerks/Projects". I'm just not sure why it is looking for assets in the "Tutorials" folder and not the "Tutorials/models/fan" folder where the model has been loaded from. It is in the scene but when I debug I get the error. I also don't know why "start.map" is missing or why it is needed. By the way, I'm loving Leadwerks. I'm really looking forward to working with it.

Link to comment
Share on other sites

I think what happens is it tries to load start.map by default, but since that template does not include one it prints an error. This is a small confusion I should fix...the automatic map loading was implemented recently to try to cut down on the number of steps it took to get started with a new project.

 

I am not sure what is causing the model loading error. I am confused by the description of what is happening.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

sorry about the messy and confusing post. Basically I loaded the "Object scripts.map" map, per the tutorial instructions. It has a fan blade and a camera in the scene. When I click "Run" or "debug" it says the model failed to load and the window is black. It is trying to load the model from the wrong path, yet it is loaded in the scene from the correct location. I don't know where it is getting the path string it is using to load the model from when I run the app. It's the wrong path. Hope this is clearer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...