Validation workaround `wait-for-import`: snippets don't await mesh/NodeMaterial loads
Los mantenedores suelen responder en 1 día
@bkaradzic-microsoft ya está trabajando en esto.
Desde el 3/11/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Affected tests (7)
- NME Glow Manual
- OpenPBR Transmission Color glTF - Analytic Lights
- OpenPBR Transmission Roughness vs IOR - Analytic Lights
- OpenPBR Transmission Scatter Anisotropy Reflect - Analytic Lights
- OpenPBR Subsurface Radius vs Anisotropy - Analytic Lights
- OpenPBR Thin Walled Anisotropic Transmission - Analytic Lights
- OpenPBR Thin Walled Subsurface Anisotropy - Analytic Lights
What the workaround does
Waits for pending ImportMeshAsync / NodeMaterial.ParseFromSnippetAsync / ParseFromFileAsync calls before capture. The snippets fire these without awaiting and NodeMaterial loads don't register scene pending data, so executeWhenReady can fire before the content exists. Introduced in #1872.
Recommended fix
Fix in Babylon.js: NodeMaterial snippet/file loading (and any other async loaders used here) should call scene.addPendingData / removePendingData so scene readiness waits for them. Alternatively fix the snippets to await their loads (update both Babylon.js and BN config.json; references stay valid).
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.
- Lenguaje dominante
- C++
- Estrellas
- 931
- Forks
- 169
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 66
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de BabylonJS/BabylonNative
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
BabylonJS/BabylonNative#2138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BabylonJS/BabylonNative#2042 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
BabylonJS/BabylonNative#2052 ·
Los mantenedores suelen responder en 1 día
-
testing
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
BabylonJS/BabylonNative#2136 ·
Los mantenedores suelen responder en 1 día
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
BabylonJS/BabylonNative#2134 ·
Los mantenedores suelen responder en 1 día
Todos los issues de BabylonJS/BabylonNative
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
simnJS/AnyPS5#735 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-format
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#7719 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
area:tests kind:test
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día