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
2
Question by Kimerth · Jun 25, 2016 at 05:34 AM · scene-loadingerrormessagefatal-error

Overflow in memory allocator when opening a scene

alt text

So, for starters, I must say that i work on my laptop. So, this is how i think I got this error: I put my laptop on sleep (you know, closing the lid) then i thought id play some games, so I removed the battery then plugged the laptop in. Of course it shut down and I suddenly realized my mistake. I opened my project just to see this error. I tried deleting the Library folder in my project folder, but all that it solved was that now the project opens, but on an empty scene. When i try to open one of my scenes, this happens Id like to know if there is any way to salvage my scenes... If not i dont think it is the end of the world, since i can remake them, but you know, it would be a pain... Thanks in advance.

Regards, K.

screenshot-3.png (213.7 kB)
Comment
Add comment · Show 5
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 Kimerth · Jun 24, 2016 at 04:01 PM 0
Share

PS: while i was testing another scene (which didn't look affected at first) I realized that I get a stable 10 fps; the reason? well it seems the memory allocator is doing his job briliantly: (And for some reason I couldn't upload the pic...) http://imgur.com/Rpj9jlR And by the way, I updated to the beta version of Unity in hope of fixing this

avatar image crypt0 · Jun 29, 2016 at 07:37 AM 0
Share

Hi,

did you solved the problem? I have the same problem, after I calculated lighting and my computer restartet.

Cheers

avatar image Kalata8662 · Mar 18, 2017 at 11:47 PM 0
Share

I'm having the same problem..

avatar image frankadimcosta · Apr 10, 2017 at 04:20 PM -1
Share

Huston, we have that problem ! After a year no answer ! GREAT !

avatar image frankadimcosta · Apr 10, 2017 at 04:59 PM 0
Share

The problem arises only opening the scene saved after GI baking. All other scenes of the project are ok. I cleaned the GI cache but problem persists.

5 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by frankadimcosta · Apr 10, 2017 at 08:16 PM

SOLVED ! First i removed temp dir under project and canceled the GI_cache directory. But problem still persists. Then I removed the library directory. But problem still persists. Later I removed the directory under assets cointaing the GI data asset for the scene. BINGO ! All OK ! For example: if "Scene_02" is the name of the scene, remove the dir Scene_02 under ASSETS dir. I hope this help.

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
1

Answer by Carterryan1990 · Jun 16, 2018 at 05:55 PM

It happened to be my occlusion culling data for the scene i was trying to open. I deleted the data which was rather large. Over 125mb's and that solved my problem. If your having this issue i would recommend deleting navmesh data, lighting data and occlusion data.

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
1

Answer by harwood83 · May 07, 2019 at 09:13 AM

Edit - Preferences - GI Cache - clear chache

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 ChiranjivBudheHM · Jun 27, 2019 at 04:04 PM 0
Share

Clearing the GI Cache worked for me, Thanks!

avatar image bronek13 · Jul 14, 2020 at 10:25 PM 0
Share

Had the same problem when adding next particle system it instantly crashed unity with Overflow error. After clearing GI Cache problem was resolved.

avatar image
0

Answer by Cuttlas-U · Apr 10, 2017 at 04:25 PM

Hi; some times problem like this solve by setting your layout to default then manage it again as u like; try creating new project see if that changes the problem;

and finally try to check profiler or light map ( if u have in your project ) and other similar things ;

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 LtKelleyUSMC · Oct 30, 2021 at 02:37 PM

All these explanations are all well and good, to solve the current problems, but I see no explanation as to how to prevent these problems from happening in the future. Yes, clearing the cache, and all the rest, work, but we have no answers as to what is causing the problems, or how to prevent this same thing from happening in the future, SO... this was my solution. I was having this problem also. I have a 1TB SSD drive C:\, but the free space on the drive was very low, so I cleared up temp files, removed stuff I did not need, etc, and freed up space on it, THEN, I also cleared the cache that Unity uses, and increased the cache size from 100Gb to 200Gb, (Edit->Preferences->GI Cache), (but, I had to create a new temporary project to make these changes in Unity), then tried opening the project that had this Overflow in Memory Allocator problem again, and "THAT SOLVED THE PROBLEM. IT WORKED". I did read somewhere, that there is a 2Gb limit on something, which came from someone with Unity. Don't we all just love computers... I just want to USE THE COMPUTER, I don't want to FIX THE COMPUTER... LOL

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

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

13 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

Related Questions

Scene loading problem 5 Answers

Help with error message "Overwriting the same path as another open scene is not allowed" 0 Answers

,Enums not being passed between scripts properly 1 Answer

Cannot load scene: Invalid scene name (empty string) and invalid build index -1 in Unity Test Runner? 0 Answers

Unity keep crashing when loading scene from a couritne (Unity 5.x) 1 Answer


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