# \[0.16.11.0\] Dynamic lighting is inconsisent between reloads

**URL:** <https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997>\
**Category:** Bug Report\
**Created:** [June 25, 2023, 1:58pm UTC](https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997 "2023-06-25T13:58:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![goowose](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/goowose/32/74789_2.png) [@goowose](https://forums.pixeltailgames.com/u/goowose)\
**Post date:** [June 25, 2023, 1:58pm UTC](https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997/1 "2023-06-25T13:58:03Z")

</div>

> ⚠ Important: Please include the version number of the game in the title! (for example: [0.16.11.0] Broken Feature).  
> **The latest version is [0.16.11.0]**

The radii and IES projection cones for dynamic lights are not consistent and do not persist between reloads, the distance from world origin doesn’t appear to have any bearing on it, this was tested in Smooth Dirt with the items being placed a mere few thousand units away from world origin

Please see below for screenshots and videos of this issue being documented

# Steps to Reproduce

Please list how this bug can be reproduced, if possible. Pictures would be much appreciated!

1. Open condo (Smooth Dirt in my case)
2. Set to night time
3. Place two Light Panels (8,000 Units each) some distance apart
4. Set the Light Panels IES Style to Wings
5. Angle one of the two Light Panels at 45° (Set Orientation to 0.38)
6. Place a Spacelight (5,000 Units each) about x1.5 to x2 the distance away, with default values - do not change them
7. Observe the strength and radii of the dynamic lights, documenting with a screenshot if necessary
8. Quit and reload

## What I expected to happen

- Radii, strength, and IES to be consistent and persist between reloads
- Items to retain their assigned properties (colour, light radius, etc.) between reloads
- Properties to be networked consistently to clients, regardless of the method used (eg. Dragging with Gizmo arrows, adjusting value sliders in Item Properties, clicking in the Colour Wheel, or manually typing values in to Gizmos and Item Properties followed by pressing Enter)

# What happened

The issue the bug caused.

# Issues that may be related

> [@\[0.16.11.0\] Condo Lighting Desync](https://forums.pixeltailgames.com/t/0-16-11-0-condo-lighting-desync/47983):
>
> warning Important: Please include the version number of the game in the title! (for example: [0.16.11.0] Broken Feature). The latest version is [0.16.11.0] Clients are not seeing the same level/quality of lighting as the host What I see as the host:- What others are seeing:- Steps to Reproduce Build a room from canvas primitives way out from the world origin (eg 80,000 units), place Spacelights to illuminate it. What I expected to happen Everyone to see the same le…

> [@\[0.15.0.0\] Precise scaling of nearly all placeable objects causes desync](https://forums.pixeltailgames.com/t/0-15-0-0-precise-scaling-of-nearly-all-placeable-objects-causes-desync/44649):
>
> The scale of many objects is desynced between host and people who join. I’m posting because the last update said it had fixed the “item scale rounding desync issue” - I assumed it was referring to this, but it still happens, and has for at least a year. It is especially noticeable at lower scale values. This makes building tiny rooms a real hassle, as if you want to set an object to a small scale, you have far fewer options. It also means many doors are broken, especially smaller ones - because …

* * *

# Notes / Media

Other misc. notes about the bug. Picture or videos are appreciated!

# Before

 ![image](https://forums.pixeltailgames.com/uploads/default/original/3X/7/b/7b3cd9383660e64d90946be9b0a36e2a3f3f3804.jpeg)

# After

 ![image](https://forums.pixeltailgames.com/uploads/default/original/3X/f/b/fb5a5b3caec06052e68142387a5fbd9f12cad2c8.jpeg)

# After reloading you will notice that:-

- Of the two Light Panels, only one will have a projection cone
- The Projection Cone for Light Panel no longer appears if the Orientation is set to a value between 0.37 or 0.63
- The Radii for the Spacelight is now much wider than it was when initially placed
- Duplicating the Light Panel with the Gizmo Drag gesture causes the newly placed Light Panel to illuminate at the correct radii/strength

[https://cdn.discordapp.com/attachments/737676318367416385/1122523786193944616/2023-06-25\_14-47-27.mp4](https://cdn.discordapp.com/attachments/737676318367416385/1122523786193944616/2023-06-25_14-47-27.mp4)

# Additional notes:-

- The default Radii for the Spacelight appears to actually be about 350 when the value of 1,000 is displayed in the Item’s Properties, though these will correctly illumate at 1,000 after a reload  
 ![image](https://forums.pixeltailgames.com/uploads/default/original/3X/c/c/cceffad468b40474ff5fdba1c15ac77ace346785.jpeg)  
 ![image](https://forums.pixeltailgames.com/uploads/default/original/3X/f/b/fb52758f3a1b1d3227935434040ae8f31e503f4b.jpeg)

[https://cdn.discordapp.com/attachments/737676318367416385/1122519366378987610/2023-06-25\_14-30-00.mp4](https://cdn.discordapp.com/attachments/737676318367416385/1122519366378987610/2023-06-25_14-30-00.mp4)

- The Spacelight has much larger radii when in preview mode when being dragged around the map and not with Gizmos

[https://cdn.discordapp.com/attachments/737676318367416385/1122519895268147261/2023-06-25\_14-32-02.mp4](https://cdn.discordapp.com/attachments/737676318367416385/1122519895268147261/2023-06-25_14-32-02.mp4)

- Duplicating the Spacelight with the Gizmo Drag gesture causes the newly placed Spacelight to illuminate at the correct radii/strength

[https://cdn.discordapp.com/attachments/737676318367416385/1122524827127914606/2023-06-25\_14-51-46.mp4](https://cdn.discordapp.com/attachments/737676318367416385/1122524827127914606/2023-06-25_14-51-46.mp4)

---

<div class="post-metadata">

**Author:** ![goowose](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/goowose/32/74789_2.png) [@goowose](https://forums.pixeltailgames.com/u/goowose)\
**Post date:** [January 28, 2024, 3:11pm UTC](https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997/2 "2024-01-28T15:11:36Z")

</div>

Bump, any chance of this being looked in to?

---

<div class="post-metadata">

**Author:** ![macdguy](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/macdguy/32/3448_2.png) [@macdguy](https://forums.pixeltailgames.com/u/macdguy)\
**Post date:** [January 28, 2024, 10:47pm UTC](https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997/3 "2024-01-28T22:47:34Z")

</div>

I’ll take a look into it today.

---

<div class="post-metadata">

**Author:** ![macdguy](https://forums.pixeltailgames.com/user_avatar/forums.pixeltailgames.com/macdguy/32/3448_2.png) [@macdguy](https://forums.pixeltailgames.com/u/macdguy)\
**Post date:** [January 29, 2024, 11:25am UTC](https://forums.pixeltailgames.com/t/0-16-11-0-dynamic-lighting-is-inconsisent-between-reloads/47997/4 "2024-01-29T11:25:22Z")

</div>

This is now fixed in the next hot fix.
