Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by AJ_Heroes · Dec 28, 2018 at 07:36 PM · 1080p

Error in Unityloader.js

Whenever I open my WebGL game on my web server I get an error "Offset is outside bounds of dataview", it points to line 1 in the Unityloader.js,I have started to get an error whenever I open my game on my web server, it says "Offset is outside the bounds of dataview", an it points to line 1 line the Unityloader.js

screen-shot-2018-12-28-at-202810.png (140.2 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image yotwerde · Dec 30, 2018 at 07:56 AM 0
Share

This unity forum thread seems relevant to your problem (check the last reply there).

From what I understand, this error is caused by JavaScript code that's messing with Unityloader.js. This code can be from a library you use (the thread mentions XHook) or software you're running on your web server that injects JavaScript code (like Dynatrace mentioned there).

The OP solved the problem by disabling the library (not really helpful if you need it).
You should probably first detect which library/software's causing the error by disabling them one by one.

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by yotwerde · Jan 05, 2019 at 06:39 PM


JavaScript libraries are included with the script tag, where the src parameter contains the URL of the .js file of the library.


Check the HTML file from which you're running your game for script tags, comment the tags that are including libraries out, one by one, and try starting your game to see if it works. When it runs properly, you'll know that the disabled library was causing the error.


Commenting the library imports out could cause errors if functions of the library are used in your file, so you'll have to comment these out, too.


Don't forget that it could also be that not a library but a program/software that's running on your server is causing the error, so you should look into this, too.


If you're not hosting a complete website with a complex theme on your server, but just using it to test your game online, you could create a Github Pages site to host it. This worked perfectly fine for me.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AJ_Heroes · Jan 07, 2019 at 12:54 PM 0
Share

@yotwerde Thanks for the tip about GitHub pages it really worked for me.

avatar image
0

Answer by AJ_Heroes · Jan 03, 2019 at 04:54 PM

Thanks, I will test that

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AJ_Heroes · Jan 03, 2019 at 04:59 PM 0
Share

@yotwerde Do you know where you can disable the libraries?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

96 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

como resouver o problema unity has cresh??? 0 Answers

Publishing query 0 Answers

Unity 2D High Resolution Backgrounds 0 Answers

How to activate Gameobject If the text Canvas indicates 0 Diamonds,How to Display the Gameobject if the Text Canvas indicates 0 0 Answers

Unity Editor text 1080p 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges