Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by Richetechguy · Mar 20, 2015 at 01:19 PM · errorbuildwebglservermemory

WebGl build on Server has load memory error

I uploaded a WebGl build to my server and when trying to load the page i get "uncaught exception: could not load memory initializer Release/Sport2015.html.mem"

I figured this had to do with my server not having the right Mime types so i added application/octet-stream as the type and mem and data as the extensions thinking this would fix it but I'm still getting the same error

Here's the link to the project http://jonathanriche.com/Sport2015

Comment
Add comment
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

6 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by softnax · Apr 21, 2015 at 02:45 PM

hi remove the ( .htaccess) and increase the memory allocated to 256MB. hope this will work.

i has the exact problem and i solved it by the steps above. if you want i made a small tut and posted on my site.But will not Post it here as it will be considered as spam.

Regards.

Comment
Add comment · Show 2 · 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 Richetechguy · Apr 21, 2015 at 04:38 PM 0
Share

Hi softnax I already had memory allocated to 256mb, just tried removing the .htaccess and still no luck.. What's your website?

avatar image jemonsuarez · Oct 09, 2016 at 12:58 PM 0
Share

I had error: Error 500 (Internal Server Error) on Release/UnityLoader.js Deleting .htaccess solved the problem. Thanks.

avatar image
1

Answer by _CocoaValley · Jun 12, 2015 at 07:19 PM

I was getting the same exception even after adding the mime types through my web host. As Bunny83 suggested, I tried to navigate directly to the html.mem file. It gave a 403 error, which lead me to a thread on the forums html.mem causes HTTP 500 Internal Server Error on Apache.

Credit to RoiDanton - In a nutshell, rename the file from [file].html.mem to [file].mem and update the memoryInitializer var in the .js file, in both Release and Compressed folders (need to uncompress, edit and recompress).

Hope this helps someone else, it can be frustrating working around hosting issues.

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 taxvi · Jul 28, 2015 at 03:36 PM 0
Share

You my friend deserve a medal!

avatar image
0

Answer by softnax · Apr 22, 2015 at 04:52 PM

Hi .. Richetechguy sorry for the delay..

please find the Links

Unity forums

Original Article with Hosting Configurations

Note To Moderator ( Images were not loaded correctly in the Forums Post therefore I post my website Article "If to much Bother please remove the Link no need to go crazy & ban ppl" ;) Thanks.

Comment
Add comment · 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
0

Answer by DevMerlin · May 05, 2015 at 03:48 AM

I know this question is somewhat old, but I ran into the same thing this morning. After a ton of experimentation, I discovered that this happens primarily if you have "Development Build" ticked. If you don't have it ticked, this doesn't seem to happen.

Comment
Add comment · 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
0

Answer by Bunny83 · May 05, 2015 at 04:08 AM

Well, you simply have either access problems on your webserver or you haven't put the build in the right folders.

This URL:
http://jonathanriche.com/Release/Sport2015.html.mem

seems to load but it returns a zero byte document. If you can't fetch the file manually with that URL, the webbuild can't either.

Comment
Add comment · 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
  • 1
  • 2
  • ›

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

8 People are following this question.

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

Related Questions

WEB GL Build is not working in IOS , Build Not Working in I phone Stuck at 90% loading bar 0 Answers

Error building Unity project in WebGL 0 Answers

WebGL build error on Unity 2021.2.8 0 Answers

WebGL build isn't loading. 1 Answer

WebGL file doesn't work, I can't change levels?! 0 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