• 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 /
  • Help Room /
avatar image
0
Question by Umaru_J · Dec 16, 2015 at 03:50 AM · androidunity 5iosassetbundlelightmapping

Please Help !!!!!! Baked lightmaps does not work with asset bundle on Ios and Android builds

I've baked my lightmaps and I can see them in the scene in the as shown in the pic belowalt text

But after I create asset bundles for IOS and Android this is what i get on the device alt text

I've spent the past week to find a solution that works works on unity 5.3 but have not been successful. The only way i can see my light maps is by mapping the lightmaps created by Enlighten to the mobile legacy-lightmap-shader. It could be a user error on my part but I never had this problem with Beast. Now with enlighten in unity 5 it has become a nightmare. Please Help !!!!!!

vegas-track-image-8.png (234.9 kB)
vegas-track-bad-8-image.png (219.5 kB)
Comment
Add comment · Show 2
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 itsharshdeep · Dec 16, 2015 at 04:42 AM 0
Share

Can't we do like

All the lightmaps should be present in the build already ( i.e. not uploading the ligtmap with assetbundle) and then as we loaded the asset from bundle/ downloaded asset, then we will manually apply that light map.

I don't whether I'm giving you feasible/correct approach or not. But this is the first which came to my mind first.

avatar image Umaru_J · Dec 28, 2015 at 08:32 PM 0
Share

@kuba

Hello $$anonymous$$uba, I just wanted to ask, if you have any solution of how to fix the above lightmap issue with asset bundles. Thanks in advance.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Umaru_J · Dec 19, 2015 at 07:36 AM

@itsharshdeep

Thanks itsharshdeep but i think that is what i'm kind of doing already. I'm converting the .exr files to .pngs in photoshop and using them with a legacy shader to display the lightmaps. With beast i did'nt have to do these extra steps. Please let me know if you think my appraoch is still different from yours.

Comment
Add comment · Show 3 · 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 itsharshdeep · Dec 22, 2015 at 06:51 AM 0
Share

$$anonymous$$mmm.. Yes I think we are on the same page. First of all I want to tell you that I dont have much experience in this

As you described is the thing which I don't know i.e. to use beast or something like that. Are you sure if you edited the light maps it will still working fine.

1) Because let suppose if I change the quality or something with the lightmap then it will not produce the same effect as it was showing 2) If you are importing or exporting the lightmaps then you also have to set the texture type to Lightmap from the inspector. 3) Now I'll suggest the one thing do test the all that you must first test the lightmaps as they are without editing yourself.

Thanks

avatar image itsharshdeep itsharshdeep · Dec 22, 2015 at 06:55 AM 0
Share

I also wanna say something that your first screen shot is looking awesome. I really wanna learn that output. because if I wanna make a game then my output will be the same as in the 2nd screenshot. I think this is not with the light/shadows because I'm also watching that the sky color is different , feel of the game is changed. If you can share what are the difference in both screen shot or how I can learn this then it'll be really great.

avatar image Umaru_J itsharshdeep · Dec 28, 2015 at 08:21 PM 0
Share

Thanks itsharsdeep, the first scene was what i got from my initial lighting with Enlighten. I added a little bit of yellow to the main light to give the scene a warm feel. I also opened the .exr files in photoshop an adjusted the levels a bit. I used the standard shader for the initial lighting. Sometime is good to play around a bit and make adjustments in Photoshop.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

48 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 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 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

How can I get lightmaps to work with assetbundles on android and Ios ? 0 Answers

Cannot get Addressables to work after successfully build onto Android? 0 Answers

Assetbundles in Unity 5.x 0 Answers

How to play a 360 degree video with stereo mode in Unity 3D 0 Answers

Google+ in Unity. Is it possible? 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