Skip to content

Conversation

@Animatnetic
Copy link

@Animatnetic Animatnetic commented Jul 3, 2025

There is undocumented behavior of lighting that I feel needs to be addressed as I was stuck trying to debug my code.

Changes

Checks

By submitting your pull request for review, you agree to the following:

  • This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
  • I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
  • To the best of my knowledge, all proposed changes are accurate.

There is undocumented behavior of lighting that I feel needs to be addressed as I was stuck trying to debug my code.
@Animatnetic Animatnetic requested a review from a team as a code owner July 3, 2025 12:51
@github-actions github-actions bot added the engine reference Changes the Engine API Reference documentation label Jul 3, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Animatnetic, thanks so much for helping improve the Roblox creator documentation! Our technical writing team will review your pull request soon. In the meantime, please ensure you've read through the README.md, contribution guidelines, and style recommendations.

@Animatnetic
Copy link
Author

Animatnetic commented Jul 3, 2025

Hello, in my case I had a LocalScript under a ScreenGui that had ResetOnSpawn = false. Within that script when my character reset, there was a ColorCorrection that would be destroyed which the LocalScript would still be referencing. I had no idea this was a behavior of the Lighting service and I feel should be documented somewhere as I was stuck trying to troubleshoot the problem. It would be better if it were actually written anywhere explicitly.

@EgeBekleTR
Copy link

LGTM

@Animatnetic
Copy link
Author

I also realized I slightly poorly worded it, could you please add to the info: "and replaced with new identical children"

@Animatnetic
Copy link
Author

Oh my days it was another script affecting it forget about this pull request my bad

@Animatnetic Animatnetic closed this Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine reference Changes the Engine API Reference documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants