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 micheldumais · Mar 23, 2015 at 03:17 AM · prefabsavelightmap

Save lightmap in prefab

Hello all - I got a problem with Unity 5. I used to bake lightmap and be able to apply the baking on prefab. The lightmap was saved with the prefab. Then, when instantiating a prefab, its lightmap would also instantiate. Not anymore with Unity 5. Even if a prefab is instantiated, then baked, then prefab saved, it will still be unbaked when re-instantiating ... Anybody ran in the same problem ? Thx ! Michel

Comment
Add comment · Show 3
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 Pangamini · Mar 23, 2015 at 10:08 AM 0
Share

Please post the answer here once you figure this out

avatar image jposey · Apr 09, 2015 at 04:32 AM 1
Share

Yes, we have the same problem. I just now finished program$$anonymous$$g a workaround for it. It's not pretty. Hopefully we didn't just waste a lot of time. We could not find any responses from Unity reps about this, only deleted questions about it. I was surprised when I looked again for the 10th time and found your question and it wasn't deleted, actually.

avatar image micheldumais jposey · Apr 09, 2015 at 04:12 PM 0
Share

Never found a solution about it either. Since these baked prefabs were in small quantities in my project, I now simply keep them as baked objects in the scene, and reposition them as I need. Looks like baked prefabs are unfortunately not available anymore ...

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by garrett3d · May 13, 2015 at 04:42 AM

We're having this problem too, it looks like it's a known issue though. You can follow it in the issue tracker here:

http://issuetracker.unity3d.com/issues/prefabs-dont-store-ligthtmap-information-correctly

and vote it up!

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 Joachim_Ante · Jun 26, 2015 at 03:43 PM

Sample code for how to solve this: http://forum.unity3d.com/threads/problems-with-instantiating-baked-prefabs.324514/

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 Firedan1176 · Jul 28, 2016 at 05:54 PM

This is by design in Unity 5. Lightmap information was stored in the Scene file, as well as individual Renderers. However, this could cause issues. Therefore, the Lightmap Screenshot now stores all this information. Therefore, you'll need to manually do this via script.

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 filibis · Jul 28, 2017 at 05:56 AM 0
Share

Hi there, i couldn't find any information or provided such script. Can you please direct me somewhere if it's still manually being done via script? (and note that i've a basic script knowledge)

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

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Create a terrain prefab? Saving a terrain? No? 1 Answer

List or Array of Custom Classes not saving into prefabs properly? 2 Answers

Lighting Mapping the hard way 1 Answer

Change scale in lightmap (Prefab property) by script 0 Answers

prefab when dragged on scene is not where its saved to be 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