Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Lovrenc · Oct 23, 2015 at 05:08 AM · buildlightingbrightness

Windows build much brighter than running in editor.

There is great difference between in-editor lighting and built game lighting and I just cant put finger on the problem. Even after I disabled all the lights I could find, it is still shinning like crazy.

Editor version: alt text

Built version: alt text

EDIT: Added settings

alt text alt text alt text

Thanks,

capture.jpg (225.1 kB)
capture2.jpg (158.3 kB)
Comment
Add comment · Show 7
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 PictonicStudio · Oct 23, 2015 at 05:27 AM 0
Share

What are your player settings like? Are you using HDR? Are you in Linear or Gamma? Deferred or Forward? Are you using the Standard shader?

avatar image Lovrenc PictonicStudio · Oct 23, 2015 at 12:32 PM 0
Share

I added the info to the question.

I am using linear deferred. Yes I am using HDR. All assets are using standard shader.

avatar image Brucas · Dec 01, 2015 at 10:33 AM 0
Share

Was this issue ever resolved? I have this exact same issue and have no clue what is going on with it.

(Can't post as a comment apparently... not enough permissions?)

avatar image Lovrenc Brucas · Dec 08, 2015 at 09:46 PM 0
Share

I did not manage to fix this, sorry. I still have no idea what is causing this problem.

avatar image Brucas Lovrenc · Dec 08, 2015 at 11:05 PM 0
Share

Not sure if this is what is causing the issue for you, but I did manage to resolve this myself. In my project I had one menu scene and then it loaded the scene with a procedural dungeon which looked great in the editor but washed out and bright in the standalone. Whenever I ran it from the menu > dungeon it looked fine in editor, but when I just ran the scene alone it also looked bright in the editor. I made a new scene and made it exactly like the old scene (as far as I could tell) and it looked correct in both the editor and the standalone. Not sure if that is something that is feasible for you to do (for me it was easy because the dungeon was procedurally generated), but maybe that would solve your problem as it did $$anonymous$$e.

Show more comments
avatar image fashrista · May 11, 2018 at 10:46 AM 0
Share

I have a similar isue. If I play just one scene in editor the lighting s bright, asi is in build(bright is ok with me). But when playing in editor, if I enter this scene from another scene via scripted in game buttons(Scene$$anonymous$$anager.LoadScene(scene.name)), the scene is all dark. Some objects are hardly visible. Have you found the solution to this?? Please let us know.

4 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Meltdown · Dec 09, 2015 at 01:31 AM

There is a chance your editor Quality Settings and the platform Quality Settings are different, make sure they are the same, and set the defaults as appropriate to rule this out.

If that doesn't help, close the Editor and delete your Library and Obj folders and re-open the project in case something has gotten corrupt.

If that doesn't help, If you use Lightmapping, clear the GI cache in the Preferences window, and rebuild your lighting.

If all that fails, try the latest version of Unity, and if that doesn't work, file a bug report with a small repro project.

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 fek · Oct 09, 2016 at 05:28 PM

I recently ran into a similar issue, and while I cannot guarantee my problem is the same is yours, I figured I'd throw it out there for you and other users who are googling this issue.

I have a couple of directional lights in my game that I'm using to fake a backlighting / GI effect on a few character models. I was using layer masks to ensure that the directional lights were only lighting the desired models, and not the rest of the world.

This worked as intended in editor builds / testing, but when I published the game to a standalone EXE, the entire world was much brighter. After some playing around, I discovered that the directional lights were ignoring their layer masks and illuminating the rest of the world. I'm not sure why this was only happening in the standalone build, but I assume it's just some quirk in the compiler or something.

![alt text][1] [1]: /storage/temp/79785-lightingdifference.jpg


lightingdifference.jpg (182.0 kB)
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 Acreates · Aug 19, 2017 at 05:39 AM

I'm going through this right now. What I'm going to try next, is put my lighting data under the Resource folder. I'm not using asset bundles, so I when I build, I'm not sure the Lighting Data is being loaded into the game.

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 fashrista · May 11, 2018 at 11:34 AM

Have found the solution:

Prob. desc.: Have a scene with directional light and hundreds of instantiated prefab/gameObjects. If I play the scene in editor, it is all nice and bright, but when (whileplaying the game in editor) I enter the scene from another scene by pressing programed buttons(SceneManager.LoadScene(problematicScene) the problematic scene is all dark. In build al is ok. The scene is bright as it should be.

Solution: in editor, beiing in your scene, goto Window/lighting/settings: alt text uncheck auto generate , and press Generate lighting, save changes and try it out...

Remark: this answer suggests that the dark lghting in your scenes was not correctly displayed lighting, and that the bright one is the one that you made , but it was not shown correctly in the editor.


lightsettings.png (75.9 kB)
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

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

38 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

Related Questions

Distribute terrain in zones 3 Answers

Baked Lighting increases intensity 1 Answer

Reflective surface/texture bug in build only (works in play mode in editor) 1 Answer

Lightmapping taking way too long at build time 0 Answers

Why does my lighting take a second to load in build? 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