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 Jde · Nov 30, 2012 at 08:53 AM · lightmapuvatlasautomatic4.0

Is automatic lightmap atlasing broken in Unity 4.0?

Since upgrading to Unity 4.0, the automatic lightmap atlasing process no longer packs the UV islands together efficiently. I create all my lightmap UVs outside of Unity and there is often empty space in the [0,1]x[0,1] UV square. The docs say this about it...

"If a UV set for a given object occupies only part of the [0,1]x[0,1] square, in many cases atlasing will move neighboring UV sets closer, to make use of the empty space."

This worked fine in Unity 3.5 but no longer works for me in Unity 4.0. Is this known to be broken or am I doing something wrong?

Here's a before and after...

alt text alt text

lightmapunity3.5.jpg (114.5 kB)
lightmapunity4.0.jpg (73.6 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 mkingery · May 07, 2013 at 10:05 PM 0
Share

While not as severe as your example, im getting really weird chunks of inefficient UV layout that i can't get rid of.

While not as severe as your example, im getting really weird chunks of inefficient UV layout that i can't get rid of.

4 Replies

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

Answer by Jde · May 07, 2013 at 10:10 PM

This issue has apparently been fixed and should be in the next release (4.2). See this thread for details.

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 mkingery · May 07, 2013 at 10:13 PM 0
Share

ha! i just got done reading it, thanks for running the groundwork on this!

avatar image
1

Answer by Aynis · Jan 15, 2013 at 12:02 PM

Hello

I have the same issue, but whorse...
I make the UV2 of some meshes in maya, and when in unity 3.5 the atlasing for beast worked just fine.
But now I'm using unity 4, and with the same parameters I've got almost one LM for each object, with just a very small part in the texture used. So I've got more than 60 1024*1024 LM, with only 128*128 pixels used sometimes. And for this object I've got the message "Object's size in lightmap has reached the max atlas size". Witch is obviously not the case when I look onto the lost of space in the LMs...

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 MightyRabbit · Mar 13, 2013 at 04:52 PM

I'm having the exact same issue here and I'm surprised that fewer people are having this issue. Does Unity have any plans to fix this?

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 _-MADMAN-_ · Feb 15, 2013 at 02:40 PM

Worse here - no matter if Unity uv or custom. Always get an error described above. In 3.5 all scenes worked just fine.

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 Jde · Feb 15, 2013 at 03:06 PM 0
Share

I reported this as a bug last year so Unity know about it. I got a response on the forum here. There's a bit more detail in that thread too.

avatar image Aynis · Feb 15, 2013 at 04:32 PM 0
Share

And as I see in the thread, no new answer since a year... Not very efficient for a huge problem that impact very badly many productions (I've heard that studios where making their own atlaser because of this bug...) I've posted an answer in the thread, maybe we would have a return if we shake the $$anonymous$$m a little...

$$anonymous$$y own L$$anonymous$$

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

16 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

Related Questions

Automatic mesh combine and texture atlasing 4 Answers

Lightmap UV problem with external version control 1 Answer

SkinnedMeshRenderer offset UVs to match texture atlas? 1 Answer

Auto Texture Tiling Script Problem 0 Answers

imported lightmap weird display in Unity 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