• 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 /
This question was closed Mar 22, 2020 at 09:17 PM by M1Z4 for the following reason:

Other

avatar image
0
Question by M1Z4 · Mar 08, 2020 at 09:43 PM · unityeditorbuild-errordirectional lightlighting bugexport problem

Realtime GI does not work when project is build in unity 2018.4.18

My scene's directional light works fine in the editor but when i build my project the directional light does not seem to work properly. Is this a bug or is it a common problem since i couldn't find any discussions related to this topic online.

Here's what the lighting looks like in the editor:alt text

Here's what it looks like when build: alt text

light.jpg (197.2 kB)
light-in-build.jpg (176.4 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 M1Z4 · Mar 08, 2020 at 09:44 PM 0
Share

lighting details:alt text

alt text

directionallight.jpg (101.5 kB)
lightingsettings.jpg (103.1 kB)

1 Reply

  • Sort: 
avatar image
0

Answer by BBIT-SOLUTIONS · Mar 08, 2020 at 10:19 PM

Maybe you have to adapt the Quality-Settings for the platform you build for?

It's in Edit/Project Settings/Quality

Also ensure that you select the wished Quality as your default one for your platform.

Comment
Add comment · Show 4 · 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 M1Z4 · Mar 10, 2020 at 12:34 AM 0
Share

I have the quality settings adjusted and set as default for my editor view too, but i think the problem is with realtime GI that is not working at all when the project is build. How can i tackle this situation?alt text

screen-shot-2020-03-09-at-83345-pm.png (98.9 kB)
avatar image BBIT-SOLUTIONS M1Z4 · Mar 10, 2020 at 02:30 AM 0
Share

ok, strange idea, but according to this thread you could maybe try running Unity as Ad$$anonymous$$istrator.

Did you also get any errors in the log?

And did you try to generate the lighting or bake (or clear the bakes) before building?

Just some short ideas for now. Not sure, if anything could help...

avatar image M1Z4 BBIT-SOLUTIONS · Mar 10, 2020 at 02:10 PM 0
Share

yea i need to look into running Unity as ad$$anonymous$$istrator. i don't get any errors in the log and i've tried to generate light and bake multiple times, still no use. Also, i was starting to think that occlusion culling might be interfering with realtime GI so i cleared the occlusion culling and built again but realtime light still does not work, its getting so frustrating :(

Show more comments

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

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

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

Build Unity iOS project in jenkins 0 Answers

Build and Unity look different.,Build looks different to Scene/Game view 1 Answer

DIY Cave Environment Are you missing a using directive or an assembly reference? 1 Answer

Light Baking Issue 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