[boskid][2.0.41] Lamps load with "Beige" color by default

This subforum contains all the issues which we already resolved.
eugenekay
Filter Inserter
Filter Inserter
Posts: 285
Joined: Tue May 15, 2018 2:14 am
Contact:

[boskid][2.0.41] Lamps load with "Beige" color by default

Post by eugenekay »

What did you do?
  • Place a Lamp with "Use colors" --> "Color Components" (or use Blueprint provided)
  • Set an appropriate Enable condition (or "Always On")
  • Save as Scenario
  • Exit to Main Menu (or Restart game completely)
  • Load Scenario (so that the game starts "Paused")
What happened?
Lamps connected to a Circuit are rendered with the Default Beige color (255-255-191), not with the Values at-rest on the Circuit Network, for exactly one tick.
Screenshot 2025-03-12 194625.png
Screenshot 2025-03-12 194625.png (599.59 KiB) Viewed 360 times
What did you expect to happen instead? It might be obvious to you, but do it anyway!
Lamps would render with the same Color that they had when the Game/Scenario was Saved. The Circuit Network already has the Values "on the wire", and the RGB numbers in the Lamp's UI seems to indicate that it "knows about" these values.
Screenshot 2025-03-12 194641.png
Screenshot 2025-03-12 194641.png (546.66 KiB) Viewed 360 times
Does it happen always, once, or sometimes?
Every time a Scenario (or Game which does not automatically Tick/begin Play) is Loaded, for exactly one tick.

I first noticed this behavior a few days ago, on 2.0.38, but it seems to have been there for a long time (haven't checked 1.1). I spent about an hour debugging my Combinator Display "flickering" colors, before I figured out it was an issue in the base game - not my Mods (I had one which changed the Lamp sprite; still evident without it as in screenshot). I have searched the Forums for "lamp", "color", and "tick", with no relevant matches.... this is a very Minor Graphical issue - it only happens for 1 Tick when the Game is first loaded.

It also seems like there is a Saturation difference between Lamps setup with the Eyedropper (top row), and which receive a Circuit Signal (bottom row). I cannot think of any reasonable use case for having perfect color rendering with the Lamps..... we do not need to render Pixel art in perfect 16/24/32-bit color :D. I don't think I have ever used a Lamp for colors other than White, without also connecting a Wire. I am only mentioning it because I had to double-check that I got the RGB values correct after looking at the Screenshot - did not notice it In-Game.

Thanks for reading!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3645
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.41] Lamps load with "Beige" color by default

Post by boskid »

This is quite marginal but i decided to fix this anyway. Issue is now fixed for 2.0.42 - color set by control behavior will be save/loaded so it can be instantly used after loading even if time is paused.
eugenekay
Filter Inserter
Filter Inserter
Posts: 285
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: [2.0.41] Lamps load with "Beige" color by default

Post by eugenekay »

boskid wrote: Wed Mar 19, 2025 9:54 am This is quite marginal but i decided to fix this anyway. Issue is now fixed for 2.0.42 - color set by control behavior will be save/loaded so it can be instantly used after loading even if time is paused.
Thank you!

Will this Saved/Loaded Value be Specific to the Circuit network Color? Or will it overwrite the existing manually-set Color data (which is where the Default Beige is coming from) saved in the Entity?

IE, will the lamps “remember” their color if they are subsequently disconnected from the Circuit wires; or will they revert to Beige as the current behavior?
Post Reply

Return to “Resolved Problems and Bugs”