Sign in to follow this  
Bladetrick

objFileLoader.js.map read failed

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.