Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babylonjs Sample on tap gets error 'Wrong sceneFilename parameter' #193

Open
JessePerry opened this issue Dec 17, 2021 · 0 comments
Open

Comments

@JessePerry
Copy link

When trying the sample for BabylonJS, if you tap the scene then nothing happens on iOS.

When I connect the Safari inspector I see the error is related to babylons requirement of the scene name being provided. The error in console is:
Wrong sceneFilename parameter
Here is a breakpoint which also shows the filepath coming in, apparently it can't start with / if a scenename is not provided.
image

In the example code, it is this part that determines what is sent to Babylonjs to load the scene.

BABYLON.SceneLoader.ImportMesh(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant