Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Initialize 3D scene not working (babylon.js not loaded)

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

Scheduled Pinned Locked Moved Help
11 Posts 4 Posters 1.5k Views
  • 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 Offline
    L Offline
    Luca
    wrote on last edited by
    #1

    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
    0
    • L Offline
      L Offline
      Luca
      wrote on last edited by
      #2

      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

      CreatiCodeI 1 Reply Last reply
      0
      • L Luca

        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

        CreatiCodeI Offline
        CreatiCodeI Offline
        CreatiCode
        wrote on last edited by
        #3

        @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 2 Replies Last reply
        0
        • CreatiCodeI CreatiCode

          @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 Offline
          L Offline
          Luca
          wrote on last edited by
          #4

          @info-creaticode it works now. Thanks! 🙂

          1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @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 Offline
            L Offline
            Luca
            wrote on last edited by
            #5

            @info-creaticode Hello. There is still some script not loading in the editor:

            https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/meshwriter.js
            https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/ammosep2022.js
            https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/babylonjs.proceduralTextures.min.js

            Thanks for the support.
            Kind regards.

            CreatiCodeI 1 Reply Last reply
            0
            • L Luca

              @info-creaticode Hello. There is still some script not loading in the editor:

              https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/meshwriter.js
              https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/ammosep2022.js
              https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/babylonjs.proceduralTextures.min.js

              Thanks for the support.
              Kind regards.

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @lucapan-aeafecba

              That’s strange. These scripts are available. If you copy their URL into the browser, do you get the script or it says not found?

              L 1 Reply Last reply
              0
              • CreatiCodeI CreatiCode

                @lucapan-aeafecba

                That’s strange. These scripts are available. If you copy their URL into the browser, do you get the script or it says not found?

                L Offline
                L Offline
                Luca
                wrote on last edited by
                #7

                @info-creaticode If i open https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/meshwriter.js i see this:

                NoSuchKey
                Key not found

                A CreatiCodeI 2 Replies Last reply
                0
                • L Luca

                  @info-creaticode If i open https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/meshwriter.js i see this:

                  NoSuchKey
                  Key not found

                  A Offline
                  A Offline
                  Alpha Tech
                  wrote on last edited by
                  #8

                  @lucapan-aeafecba i am have the same issue with my projects, and i had to halt production because of it,

                  1 Reply Last reply
                  0
                  • L Luca

                    @info-creaticode If i open https://scratch-gui-project.b-cdn.net/scratch-gui-projects/library/lib/BBL8/meshwriter.js i see this:

                    NoSuchKey
                    Key not found

                    CreatiCodeI Offline
                    CreatiCodeI Offline
                    CreatiCode
                    wrote on last edited by
                    #9

                    @lucapan-aeafecba

                    Can you try this?

                    In the top right dropdown, select “Profile”, then scroll down, and turn on this option (right below the theme color settings):

                    76ad3738-45ea-4941-9d87-962eac1df032-image.png

                    L 1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      Landon Whitney
                      wrote on last edited by
                      #10

                      All of my projects do that too.

                      1 Reply Last reply
                      0
                      • CreatiCodeI CreatiCode

                        @lucapan-aeafecba

                        Can you try this?

                        In the top right dropdown, select “Profile”, then scroll down, and turn on this option (right below the theme color settings):

                        76ad3738-45ea-4941-9d87-962eac1df032-image.png

                        L Offline
                        L Offline
                        Luca
                        wrote on last edited by
                        #11

                        @info-creaticode Using alternative server for china, vietnam, etc. works for me! However I’m connecting from Italy 🙂 Thank you very much!!!

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • CreatiCode