fix: 7936, make getExplorerInformation return a promise#7958
fix: 7936, make getExplorerInformation return a promise#7958m3taphysics wants to merge 3 commits intodevfrom
Conversation
|
Windows and Mac build successful in Unity Cloud! You can find a link to the downloadable artifact below. |
|
@claude review |
|
Claude finished @m3taphysics's task in 36s —— View job Review Complete
The fix is correct and minimal. Adding One observation (not blocking): No blocking issues found. REVIEW_RESULT: PASS ✅ |
|
Claude finished @m3taphysics's task in 36s —— View job PR Review
The change is correct and minimal. Adding One observation (not blocking): No blocking issues found. REVIEW_RESULT: PASS ✅ |
|
🔍 Claude reviewed this PR and found no blocking issues, but assessed it as complex — human DEV review is still required before merging. |
PR 7958PR number: 7958 Intel Core i3Change samples: 2665
|
|
Claude finished @m3taphysics's task in 23s —— View job PR Review
The change is correct. Adding One observation (not blocking): No blocking issues found. REVIEW_RESULT: PASS ✅ |
|
Claude finished @m3taphysics's task in 20s —— View job PR Review
The change is correct. Adding One observation (not blocking): No blocking issues found. REVIEW_RESULT: PASS ✅ |
|
PR #7958, run #23905444463 Builds: Windows change, Windows baseline, macOS change, macOS baseline Intel Core i3
|
|
PR reviewed and approved by QA on Windows following the PR test instructions. ✅ Build: Test results:
Unrelated errors noted (do not affect verdict):
Mac:
|
|
PR #7958, run #23908382715 Builds: Windows change, Windows baseline, macOS change, macOS baseline Intel Core i3
|


Pull Request Description
fixes #7936
What does this PR change?
Fixes a scene load failure caused by
getExplorerInformationreturning a plain synchronous object instead of aPromise.Problem: Scenes calling
isMobile()fail to load entirely onv0.136.0-alpha. The SDK'sisMobile()internally callsgetExplorerInformation({})and chains.then()on the result, expecting a Promise. However,Runtime.jsreturns a plain object, causing:Fix: Mark
getExplorerInformationasasyncso it implicitly returns aPromise, conforming to the async contract the SDK expects.Change in
Runtime.js(L29):References:
Explorer/Assets/StreamingAssets/Js/Modules/Runtime.js(line 29, commit63afaba)v0.136.0-alpha(Unity Engine 6000.3.9f1)Test Instructions
Test Steps
Launch the new Explorer build
Load the following minimal test scene:
Expected: The scene loads successfully. The console logs
"getting information"followed by the JSON payload containingagent,platform, andconfigurationsfieldsExpected: The scene loads without throwing
TypeError: (...).then is not a functionQuality Checklist
asyncadds negligible overhead (implicitPromisewrapping via microtask queue; no I/O)Code Review Reference
Please review our [Code Review Standards](https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md) before submitting.