chore: Multi-scene world - Realm dependant skybox time#7244
chore: Multi-scene world - Realm dependant skybox time#7244
Conversation
|
Windows and Mac build successful in Unity Cloud! You can find a link to the downloadable artifact below. Artifact size check
Comparing against: v0.128.0-alpha |
Ludmilafantaniella
left a comment
There was a problem hiding this comment.
✅ Verified on Windows and Mac following the provided test scenarios.
QA validation performed using configured scene https://sdk-team-cdn.decentraland.org/ipfs/sdk7-test-scenes-skybox-time-test-scenes-next
:
- Realm-level
skybox.fixedHouris correctly applied when present - Scene Component time properly overrides realm configuration
- Scene Metadata time correctly takes highest priority
- Behavior remains unchanged when
fixedHouris missing or invalid - No regressions observed during testing
The priority chain works as intended and the implementation behaves as expected.
Status: Approved for merge 🚀
7244-evi.mp4
✅Smoke test performed:
- ✔️ Skybox functionality in worlds and Genesis City
- ✔️ Backpack and wearables in world
- ✔️ Emotes in world and in backpack
- ✔️ Teleport with map/coordinates/Jump In
- ✔️ Chat and multiplayer
- ✔️ Camera
- ✔️ Skybox
|
@claude review |
|
Claude finished @dalkia's task in 3m 14s —— View job Code Review
Issues Found1. Unit Mismatch — Hours vs Seconds (Potential Bug)Location: Problem: The correct conversion for an hour-based value would be: The PR description test instructions read "a valid hour in seconds", which is self-contradictory. This same concern was raised by reviewer lorux0 and remains unanswered. The existing feature-flag path in Fix (if the server sends hours): Apply the conversion before calling // RealmSkyboxState.cs:63
float normalizedTime = SkyboxSettingsAsset.NormalizeTime(realmData.SkyboxFixedHour.Value * 3600f);Fix (if the server sends seconds but the naming is wrong): Rename the field throughout the chain:
Why it matters: The skybox would show an almost-midnight sky regardless of the configured world time. QA results suggest it is currently passing, meaning either the server sends seconds (naming is wrong) or the test world happened to use a value that appeared plausibly correct. Either way, the ambiguity must be resolved. 2. Missing
|
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Signed-off-by: Juan Ignacio Molteni <juanignaciomolteni@gmail.com>
Pull Request Description
What does this PR change?
Support a fixed time of day defined at the realm level via the server about response. When the about JSON includes
configurations.skybox.fixedHour, that value is applied as the world’s skybox time, with lower priority than Scene Component and Scene Metadata so scene-level control is preserved.Test Instructions
Test Steps
Code Review Reference
Please review our Code Review Standards before submitting.