[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4771: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4773: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4774: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4775: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3906)
Skyline Forums • View topic - Mesh Error : File NOT FOUND
This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

Mesh Error : File NOT FOUND

Mesh Error : File NOT FOUND

Postby howler » 15 Apr 2014, 12:02

v0.7.5
I've created a terrain with a road and imported (via right-click, import model) a bridge to make the racetrack a figure-8. After saving the scene and reloading it I get an error
"File NOT FOUND :: projects_bridge_3ds.mesh. Using default Emitter mesh instead"
The mesh file it's looking for is in the original mesh location which isn't the directory the scene was saved into. I've tried moving the mesh into the scene's directory and reloading. When that didn't work I tried doing a "Refresh Resources" and reloading the scene - I still get the same error.
I had a look on the wiki page about importing models and couldn't see anywhere that I have to move the mesh file to any specific directory, so I'm not sure why it can't find the model.
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 15 Apr 2014, 12:08

have you placed the mesh, materials and textures inside the asset library or your project folder.
This is essential inside skyline.
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby howler » 15 Apr 2014, 12:44

If, by my project folder, you mean the folder where my scene is, then yes. If "project folder" means something else, then no. :D
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 15 Apr 2014, 13:03

Skyline uses the Asset Library ($(SkylineSDK)/Asset Library) where general assets can be stored, this is also where your main scenes are stored.
Skyline when booting auto scans the asset library to find any assets that can be used and loads them into resources.
So your mesh should be picked up if stored in this folder.

if you post the path to which the asset is stored; that might help narrow down the problem. :D

But if you are making a game and don't want to use the asset library as all assets are for your game only, then skyline can create a project folder which can be stored anywhere on your hard drives and skyline will load all assets found within.
This can be created by clicking the "File->New project" or clicking the icon on the main toolbar.
Documents: - toolbar may be out of date but icons are the same.
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 15 Apr 2014, 13:06

oh i should also note to all users, that the resource system will be changing in the next release to be more memory efficient and have faster skyline loading times.
Plus you can work from more folders than the asset library ;)
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby howler » 15 Apr 2014, 13:26

Well my model wasn't in my asset library so that's why that didn't work.
I just created a new project and selected a folder I already had created so I've ended up with F:\projects\racinggame\racinggame. I'm not worried about the duplication, I'll create a proper project directory when I get all this project vs scene stuff figured out.
I've moved my scene files from F:\projects\racinggame (they were in there before I created a project in there) into the now created F:\projects\racinggame\racinggame\scenes directory, and the .material and .mesh file into the F:\projects\racinggame\racinggame\Models directory.

Incidently, moving the scene files while Skyline has the scene open then trying to refresh your resources crashes the editor. The crash is understandable when I move all its files out from underneath it - but some sort of "disk error" warning would be more user friendly.

It still wasn't finding the mesh files, so it occurred to me that maybe I have to explicitly load the project (I assumed it was going to automatically open the last opened project). I open the project, then open the scene (why doesn't the open scene file browser default to the base directory of the project I've just opened? Can that be a feature request please?) and the editor crashes. Presumably somewhere in the scene files it's stored the location on the filesystem where the scene was origially created and doesn't like it if you move the scene into a new project directory structure?
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 15 Apr 2014, 14:12

User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 15 Apr 2014, 14:20

User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby howler » 16 Apr 2014, 11:43

Your scene suggestion didn't work - I got another crash.

So to recap what I did
1) Had a working scene
2) Made a project
3) Moved the working scene into the scene folder of the new project
4) Moved the related mesh and material file into the Models subdirectory of the project
5) Started Skyline
6) Open the scene (not the project)
7) Crash during loading
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Mesh Error : File NOT FOUND

Postby SolarPortal » 16 Apr 2014, 13:06

does the skyline.log say anything about this
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Mesh Error : File NOT FOUND

Postby howler » 16 Apr 2014, 13:26

I've just deleted the log, started the editor and reproduced the crash. The resulting log file I've emailed to you.
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia

Re: Mesh Error : File NOT FOUND

Postby howler » 17 Apr 2014, 13:14

In case anyone else hits this problem, it was caused by the double "racinggame" directory name in the path.
User avatar
howler
Skyline Ensen
 
Posts: 110
Joined: 10 Apr 2014, 23:50
Location: Sydney, Australia


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 6 guests

cron