Navigation

    CreatiCode Scratch Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Initialize 3D scene not working (babylon.js not loaded)

    Help
    2
    4
    80
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Luca last edited by

      Hello, most of the time when i open my project and run it the 3D scene is not initialized and the preview remains blank. I checked the browser console to see the network calls and i see that the babylon.js script is not loading:

      Request URL
      https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/babylon.js
      Request Method
      GET
      Status Code
      404 Not Found
      Referrer Policy
      strict-origin-when-cross-origin

      Sometime it works but most of the time it’s not working.

      Is there something i can do to solve the issue. I’m using Chrome on macOS Sequoia 15.7.2. I tried with Safari but i have the same issue.

      Thanks for the support.

      1 Reply Last reply Reply Quote 0
      • L
        Luca last edited by

        If i run the project outside the editor it works:
        https://play.creaticode.com/projects/69697a68a0de0146da116ebb

        In this case babylon.js is loaded from a different url and it works: https://ccdn.creaticode.com/scratch-gui-projects/library/lib/BBL8/babylon.js

        So the problem is only when i open the project editor.

        How can i solve the issue?

        Thanks

        info-creaticode 1 Reply Last reply Reply Quote 0
        • info-creaticode
          CreatiCode @lucapan-aeafecba last edited by

          @lucapan-aeafecba

          Yes, we were updating the babylon js 3D library to the latest version. It took some time to complete. Pleae try again. It should work fine now. Thank you for letting us know.

          L 1 Reply Last reply Reply Quote 0
          • L
            Luca @info-creaticode last edited by

            @info-creaticode it works now. Thanks! πŸ™‚

            1 Reply Last reply Reply Quote 0
            • First post
              Last post