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. Feedback
  3. Projects are able to "crash"

Projects are able to "crash"

Scheduled Pinned Locked Moved Feedback
5 Posts 2 Posters 1.8k 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.
  • Tyller_T Offline
    Tyller_T Offline
    Tyller_
    trusted helpers
    wrote on last edited by
    #1

    Projects are able to “crash”, mainly possible with 2D and 3D physics blocks, when a “crash” happens the project freezes up completely, the stop button is not grayed out but clicking it does nothing neither does clicking the green flag, the editor still works but the preview won’t work and the only fix is refreshing the page, I have seen it happen in different situations but I recreated it simply with https://play.creaticode.com/projects/6511e3017ace4f296fd39457

    Where the debug being on causes the “crash”.

    <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
    </div>

    CreatiCodeI 1 Reply Last reply
    0
    • Tyller_T Tyller_

      Projects are able to “crash”, mainly possible with 2D and 3D physics blocks, when a “crash” happens the project freezes up completely, the stop button is not grayed out but clicking it does nothing neither does clicking the green flag, the editor still works but the preview won’t work and the only fix is refreshing the page, I have seen it happen in different situations but I recreated it simply with https://play.creaticode.com/projects/6511e3017ace4f296fd39457

      Where the debug being on causes the “crash”.

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

      @jaysen4games-gmail

      Hi, some blocks may not handle all edge cases well yet, and the specific reason depends on what the block is failing to do.

      In your example, the 2D physics block tries to create a circle object to represent the sprite by reading the shape of the costume, and it finds the costume has a width of 0, so it doesn’t know how to proceed in this case.

      We will add a guard to prevent this from causing the project to freeze. But bear in mind that even if the project does not freeze, it will still not be successful in this case, since the sprite’s costume can not be empty if we need to add a physics body to it.

      Thanks for pointing out this issue.

      CreatiCode Support

      Tyller_T 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @jaysen4games-gmail

        Hi, some blocks may not handle all edge cases well yet, and the specific reason depends on what the block is failing to do.

        In your example, the 2D physics block tries to create a circle object to represent the sprite by reading the shape of the costume, and it finds the costume has a width of 0, so it doesn’t know how to proceed in this case.

        We will add a guard to prevent this from causing the project to freeze. But bear in mind that even if the project does not freeze, it will still not be successful in this case, since the sprite’s costume can not be empty if we need to add a physics body to it.

        Thanks for pointing out this issue.

        CreatiCode Support

        Tyller_T Offline
        Tyller_T Offline
        Tyller_
        trusted helpers
        wrote on last edited by
        #3

        @info-creaticode thank

        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
        </div>

        Tyller_T 1 Reply Last reply
        0
        • Tyller_T Tyller_

          @info-creaticode thank

          Tyller_T Offline
          Tyller_T Offline
          Tyller_
          trusted helpers
          wrote on last edited by
          #4

          @jaysen4games-gmail sorry, I was making sure I didn’t have to refresh, a safeguard would be very useful as when a crash happens I have to refresh which takes a while because I mainly use an iPad, I run into crashes semi frequently and a fix to not need to refresh but still knowing an error occurred via the console (assuming you would add a warning in console because it would let people know why something didn’t run) would make debugging and creating projects a much shorter experience when dealing with crashes

          <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
          </div>

          CreatiCodeI 1 Reply Last reply
          0
          • Tyller_T Tyller_

            @jaysen4games-gmail sorry, I was making sure I didn’t have to refresh, a safeguard would be very useful as when a crash happens I have to refresh which takes a while because I mainly use an iPad, I run into crashes semi frequently and a fix to not need to refresh but still knowing an error occurred via the console (assuming you would add a warning in console because it would let people know why something didn’t run) would make debugging and creating projects a much shorter experience when dealing with crashes

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

            @jaysen4games-gmail

            Noted. We will make sure proper warning messages are given when invalid requests are received.

            Thanks for the suggestion.
            CreatiCode

            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