Jump to content

objFileLoader.js.map read failed


Bladetrick
 Share

Recommended Posts

hi!

So since I started using babylon js I've been creating a ton of little stub programs to test it out.  Now i'm in the process of combining some of them in an ASP.net site and ran across an issue.

The error I get is:

SourceMap C:\TEMP\babylon.objFileLoader.js.map read failed: Could not find file 'C:\TEMP\babylon.objFileLoader.js.map'..Exception was thrown at line 24055, column 25 in http://localhost:50739/babylon.js

0x800a03f6 - JavaScript runtime error: Invalid character

What's this mean?  I've never seen a .map file before, nor had the error when working on my stubs.  Anyone come across this before?

Here's how I have included my files.  They're literally copies of what I had used before:


<script src="jquery-3.3.1.slim.min.js"></script>

    <script src="babylon.js"></script>

    <script src="babylon.objFileLoader.js"></script>

Thanks!

Carlos

Link to comment
Share on other sites

The map file can be used by your browser to provide debug information

But this is not the problem here. I recommend using babylon.max.js and turn on "Stop on all exceptions" to find what is the root cause of your exception

 

My uneducated guess would be that your ASP.Net server is not configured to serve .obj MIME type (but I can be wrong)

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...