Hello Guest

Author Topic: Out Of Memory Error when examining Atlases / Playing Scenes  (Read 3895 times)

Starblade

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Out Of Memory Error when examining Atlases / Playing Scenes
« on: April 29, 2016, 12:10:04 am »
Hi there!

For our two largest atlases, clicking on them in the Project window (one after the other, or even one, then several other atlases) will cause Unity to crash.  This also happens when both Atlases are used in the same scene - clicking play to run the scene will cause Unity to crash.  We were using version 2.3.0 but recently updated to 2.5.6 in hopes of alleviating the issue, but no dice.

Examining the atlases produces this error:



Playing the level produces this error:



Here are the Settings for each Atlas.  I didn't embed because the images are rather tall:

https://dl.dropboxusercontent.com/u/2954274/Capture3.PNG
https://dl.dropboxusercontent.com/u/2954274/Capture4.PNG

We've been working around it, but it is proving to be especially annoying for our project's artist.  Do we need to reduce the size of the atlases?
« Last Edit: April 29, 2016, 12:12:39 am by Starblade »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Out Of Memory Error when examining Atlases / Playing Scenes
« Reply #1 on: May 05, 2016, 09:50:05 pm »
What version of Unity are you using? You shouldn't really be running out of memory if you're using a 64 bit version of Unity...
Unity uses a ton of memory when you load a texture in the editor, there's not really much that can be done to avoid that.

Starblade

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Out Of Memory Error when examining Atlases / Playing Scenes
« Reply #2 on: May 06, 2016, 02:36:37 pm »
We're using Unity version 4.7.0f1.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Out Of Memory Error when examining Atlases / Playing Scenes
« Reply #3 on: May 09, 2016, 12:44:49 pm »
Hi,
Unfortunately there isn't a great deal we can do if you're stuck in Unity 4.x as there isn't a 64 bit of Unity 4.x. In terms of editor, you could 1/4 the texture size in quality settings to let you get further?