So I have a static terrain and a character on top of it, I use mixed lighting and everything works properly when I build the game and run it, but when I am in the editor it's all just dark. The static terrain is completely dark. I'm sure this is a newbie problem, but what am I missing?
Static objects are dark when lighting is baked in unity
12k views Asked by Aegletes At
1
There are 1 answers
Related Questions in UNITY-GAME-ENGINE
- How to use invokerepeating and make ui text fade in/out over time?
- Player input not working properly in unity
- Get block in Mesh Unity
- Does Unity render invisible material?
- Physics.OverlapSphere couldn't detect my ‘Player’
- Cannot sync non-player objects in Unity mirror
- How to script a simple collision using hands in OVRCameraRigInteraction?
- Drawing on 3D object at Unity
- How to Override Spline Rotation for Player-Controlled Car in Racing Game?
- Why doesn't my enemy shield take damage first. Instead both enemy and shield are being destroyed together
- unity + Vuforia balck screen in android AR app
- how do I change an objects tag when the game closes
- How to remove white space in a user's input through an input field in Unity?
- Timeline doesn't start eventhough it recognises the trigger input
- Ragdoll 2D Aiming
Related Questions in LIGHTING
- How to create certain pixels translucent in pygame
- I have this light in my scene that stops working and I have no Idea how to fix it. Can anyone solve this?
- Unity. Why does my grass receive different lighting from all other objects?
- Lightningcss and @custom media
- Ursina Python Engine: Question about the Lighting System
- Why are only certain terrain texture colors being blacked out?
- Light Functions Weirdly On Nvidia Graphics Cards
- Unity lighting not working right in scene view
- PointLight in JavaFX 3D Game Doesn't Light Faces Normal to Light in Positive Z Direction
- RealityKit – How to disable default lighting in `.nonAR` ARView?
- Why does Receive GI from Lightmaps result in artifacts on this tree while Receive GI from Light Probes fix it?
- HLSL Normal mapping - light reflections in the shadows
- Can someone tell me how to create a wall that stops light in this function
- Is my method practicable to remove shadow acne in dynamic light's rendering?
- Lighting chart : Mouse left click event is not working
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

When the editor is still busy baking your lightmap data, it will appear dark. The reason why this is not an issue for your build is that the build ignores the incomplete backed data.
You will probably see something like "Baking... [ETA xxx]" on your Unity Editor (bottom right-hand corner) which indicates that the baking is still busy.
Alternatively, you can clear the baking data or manually start the baking.
Also, check that under Lightmapping Settings, Bounces > 0. With 0 bounces the shadows are completely black.