Validation workaround `wait-for-readiness`: Scene readiness misses utility layers, GUI images, sprite metadata
Maintainer thường phản hồi trong vòng 1 ngày
@bkaradzic-microsoft đang làm issue này rồi.
Từ ngày 3/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Affected tests (17)
- GLTF Extension KHR_materials_volume with attenuation
- Nested BBG
- GUI3D SpherePanel
- Nested BBG
- GUI Near Menu
- Gizmos
- GLTF Serializer KHR punctual light, left-handed
- GLTF Serializer KHR punctual light, right-handed
- Particles
- MultiSample render targets
- Prepass SSAO + particles
- Thin instances + motion blur
- Thin instances + render self motion blur
- Bones and morphs computation order
- GUI Images in Grid
- Sprites Pixel Perfect
- Command encoder order in WebGPU 1
What the workaround does
Before capture, waits additionally for utility-layer scenes, GUI AdvancedDynamicTexture image loads, SpriteManager packed-JSON metadata and pending material effects. scene.executeWhenReady does not cover these, so the first captured frame can be missing content (gizmos, GUI images, sprites). Introduced in #1890 / #1920. Note: #1920 observed these tests passing locally with the workaround disabled, so several assignments may be precautionary.
Recommended fix
- Re-measure each test with the workaround disabled (multiple runs, all platforms) and drop it where not needed.
- For the remainder, fix in Babylon.js so
Scene.isReady()/executeWhenReadyaccounts for: utility-layer scenes (UtilityLayerRenderer.utilityLayerScene), GUI ADT image loading (ImagecontrolonImageLoadedObservable→scene.addPendingData), andSpriteManager/SpriteMappacked JSON (addPendingData). This benefits the browser too, which currently relies on timing. - If a case is purely a snippet that doesn't await its own loads, fix the snippet (update both Babylon.js and BN
config.json).
Workaround implementations live in Apps/Playground/Scripts/validation_native.js (WORKAROUNDS map); tests opt in via the workarounds array in Apps/Playground/Scripts/config.json. See Documentation/AddingNewValidationTests.md.
- Ngôn ngữ chính
- C++
- Star
- 931
- Fork
- 169
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BabylonJS/BabylonNative
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
BabylonJS/BabylonNative#2138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BabylonJS/BabylonNative#2042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
BabylonJS/BabylonNative#2052 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
BabylonJS/BabylonNative#2136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
BabylonJS/BabylonNative#2134 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của BabylonJS/BabylonNative
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gofractally/psibase#2379 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
simnJS/AnyPS5#735 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-format
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7719 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày