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
2
Question by sonic220 · May 16, 2015 at 02:59 PM · lightinglightlinerendererbakingbaked light

Problem with light baking in Unity5

I was with a couple of friends playing with the survival shooter tutorial: http://unity3d.com/learn/tutorials/projects/survival-shooter we all started experiencing this problem using baked or mixed light (the same provided from the assets) alt text

And this wasn't the only strange problem: - someone was experiencing black line renderer even tough the setted material was the one i the tutorial - someone had a problem during play time in witch the lights suddenly stopped working resulting in the only character visible on screen

I tried the tutorial before in unity 4 and everything seemed to work fine, I couldn't figure out what the problem was.

lightproblem.gif (218.7 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by PshychoRZR · Mar 24, 2016 at 09:43 PM

Hey guys I see you have lighting troubles.. I was working on survival shooter series when I encountered this lighting problem after reloading the level ie (after game over) the lights become suddenly dim and the scene looked like a trash after reloading. But after a long time I found a solution Solution : Find menu bar and Window -> Lighting and there you get a dialog box you will observe auto written write next to the check box on down right, uncheck that checkbox you will also notice a drop down menu ( combobox) on its right on which build is written click on it and you will notice that it will extract all the lighting data on your scene now When you play your game it works as it is intended. hope this helps to someone.

Comment
Add comment · Show 2 · 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 dsj7419 · Aug 06, 2016 at 10:26 PM 1
Share

Thanks PshychoRZR!

avatar image n8turalistdev · Oct 04, 2016 at 12:35 AM 0
Share

Great assistance. Worked like a charm.

avatar image
2

Answer by SirBiggs · Jun 11, 2015 at 09:01 AM

I was having the same problem, and came across this thread: http://forum.unity3d.com/threads/survival-shooter-project-baked-lighting-shadow-issue.312811/

Apparently, this is caused by the new lighting system (called Enlighten) that was introduced with Unity 5.

To quote, the problem and solution are as follows:

In Unity 5, Enlighten will try and automatically bake anything marked static, like our environment here. Currently these meshes don't all have valid Lightmap UVs for Enlighten to bake to as the project wasn't initially intended for baking, so you get these weird black areas of overlaps and repeats.

If you go to the project's models folder, select each environment and prop mesh and tick Generate Lightmap UV's in the asset's Inpsector Model tab, wait for Unity to create some valid UV's, then let Enlighten rebake, then you shouldn't see these weird errors anymore (hopefully!)

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 Deathfate · Oct 24, 2016 at 05:34 PM 0
Share

Thank you so much, this solve my problem

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

24 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

Related Questions

Weird dark spots when baking light 1 Answer

What is happening to my baked lighting? 1 Answer

Unity 2019.3 Some Objects Don't Cast Shadow In Baked Lighting, But Do In realtime,Unity 2019.3 Some Objects don't cast shadow in baked lights 0 Answers

Strange stains when bake light 1 Answer

Baked indirect/environment lighting still cast shadows from objects that are not suppose to cast shadows 2 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