Author Topic: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1  (Read 2647 times)

safee

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 2
    • View Profile
AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« on: January 04, 2017, 01:13:59 PM »
Running generation at the Atlas maker will cause 100% Unity to hang.

What should I do?

MaxOS 10.12.2 and Windows10

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« Reply #1 on: January 05, 2017, 09:52:35 AM »
What is the size of the texture you're trying to put into an atlas? Everything works as expected here, so I need a lot more details to go on than that.

safee

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« Reply #2 on: January 05, 2017, 11:14:39 AM »
Thanks.

The size of the image I  going to put in the Atlas will be two things of about 500 bytes.
The actual image will be something that is placed at the link below.

https://drive.google.com/drive/folders/0B_UCItmz3hc_YWd5RmlacHB5OHc?usp=sharing

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« Reply #3 on: January 08, 2017, 03:00:49 PM »
Two things? I assume you mean two images. It's not bytes that I was asking though -- I was asking about the width/height of the image. The only relevant issue I can think of is if you try to use source images that are simply too large to fit into an atlas, and/or your quality settings being set to something low that reduces your texture quality.

nugao

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« Reply #4 on: January 19, 2017, 11:03:54 PM »
I found if use the option "Unity Packer" , the Unity Editor will hang and memory is over.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: AtralMaker generate hang. Unity 5.5.0p3 + NGUI3.11.1
« Reply #5 on: January 23, 2017, 08:07:55 AM »
Like I said earlier, check your quality settings and the sizes of the texture you're trying to fit into the atlas. For example if you have a pair of 1024 textures you are trying to fit into an atlas, and you're targeting mobile with a 2048 texture limit, those textures won't fit assuming you chose the default 1 pixel padding as 1024+1024+1 > 2048.