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
0
Question by VivienS · May 13, 2011 at 03:59 PM · lightmapuvcachebeastuvs

Where does unity store the generated lightmap UVs?

Hi there!

We're having problems synchronizing our Beast light maps with external version control. Even if we synchronize the asset files (the actual geometry) and the meta files, the generated light map UVs are not updated. So we figure that the actual UVs have to be stored elsewhere. Does anyone know where that is?

Thank you!

Context: If you want to use Beast light maps, you (usually) have to let Unity generate a set of light map UVs. (See manual)

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

1 Reply

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

Answer by Paulius-Liekis · May 25, 2011 at 09:33 AM

You basically can't do that (or you shouldn't). The idea is that "Secondary UV" is generated on first import, which means if you put FBX file in your source control system then SecondaryUV will be generated on each users machine. To answer your question: they are stored somewhere in a Library folder, but you shouldn't put that on source control.

Why do you want it on source control? I know one reason to do it: it might generate different UVS on Mac and Win in some cases, but besides that you should be fine by generating them on each computer.

Comment
Add comment · Show 10 · 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 VivienS · Jul 04, 2011 at 07:48 PM 0
Share

Hey there! I guess I missed your answer while they were switching system - sorry! We were using GIT to synchronize our project and frequently ended up with different UVs on every system - which meant the Lightmaps would only work properly on some computers, you had to be careful where to publish and so on. I wanted to analyze the problem and therefore was interested in the location of the UVs. Recently though, we switched back to the asset server and the problem kind of solved itself.

avatar image VivienS · Jul 04, 2011 at 07:53 PM 0
Share

And another question: I got the impression that Unity kind of randomly creates the light maps UVs on every import - sometimes they would look different if I simply re-imported the FBX files (without any changes to the geometry). If that is the case however, importing the UVs on different computers would never work, because it would always give different results, and never fit the light maps...? What am I missing here?

avatar image Paulius-Liekis · Jul 04, 2011 at 08:32 PM 0
Share

In theory UV calculation should be stable and as much as we tried it is stable (as long as you run it on same computer). It seems that we removed differences between different versions of windows or macs, but there are know issues with differences between macs and windows. If you experience any issues with that - we recommend submitting a bug.

avatar image VivienS · Jul 05, 2011 at 08:07 AM 0
Share

I see. Thanks a lot for the clarification! We are using Windows PCs and OSX $$anonymous$$acs (and $$anonymous$$acs running Windows ;)) in our $$anonymous$$m. But recently, the light maps have been working flawlessly.

avatar image Paulius-Liekis · Sep 27, 2011 at 02:58 PM 1
Share

@andresp well...it copies imported model (i.e. gameobjects, meshes and so on) into new prefab, which can be stored in source control after that.

Show more comments

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Lightmap UV problem with external version control 1 Answer

Lightmapping UV problem 3 Answers

Unreal lightmaps VS Unity lightmaps 0 Answers

Weird lightmapping issue 1 Answer

generate lightmap uvs? 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