Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
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
hyperPad

hyperPad Forum

  1. Home
  2. Bug Reports
  3. Scenes are Broken

Scenes are Broken

Scheduled Pinned Locked Moved Bug Reports
6 Posts 2 Posters 948 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    Fundamentally, something is wrong.

    In the Editor

    1. After making a few edits, and jumping between scenes, I can no longer switch scenes and must restart hyperPad to regain the ability to change scenes.

    In the game:
    2. Loading Scenes doesn't work right. Physics, Cameras and Associations between objects aren't the same between a loaded scene and a scene that's the first "default" scene, and a scene that's simply played straight from the editor.

    Does anyone know anything about these bugs?

    1 Reply Last reply
    0
    • HamedH Offline
      HamedH Offline
      Hamed
      Admin
      wrote on last edited by
      #2

      I feel like this is an issue from a while back when you had an issue with duplicated scenes. When I asked for you to send your project so I can manually fix it, I don't think that you did.

      From there I think that the issues cascaded and would be pretty much impossible to fix manually at this point.

      What I think is happening is that when you're force resetting hyperPad, it clears out some junk, but theres a chance that things can get confused with a "duplicated" scene and things start getting cascaded again.

      D 2 Replies Last reply
      0
      • HamedH Hamed

        I feel like this is an issue from a while back when you had an issue with duplicated scenes. When I asked for you to send your project so I can manually fix it, I don't think that you did.

        From there I think that the issues cascaded and would be pretty much impossible to fix manually at this point.

        What I think is happening is that when you're force resetting hyperPad, it clears out some junk, but theres a chance that things can get confused with a "duplicated" scene and things start getting cascaded again.

        D Offline
        D Offline
        Deeeds
        wrote on last edited by
        #3

        @Hamed this is a heavily pruned branch. Only two main scenes, one of which is a duplicate of the other, and a third "loader" default scene that’s entirely blank except for a button to load one of the main scenes.

        The camera issues are similar to what’s happening in the physics issues in other objects.

        Also tried setting one of the main scenes as.a first scene that then loads its twin. So switching between the duplicates. First duplicate loads and plays properly. When it loads its twin, same problems as loading from the blank loader scene.

        1 Reply Last reply
        0
        • HamedH Hamed

          I feel like this is an issue from a while back when you had an issue with duplicated scenes. When I asked for you to send your project so I can manually fix it, I don't think that you did.

          From there I think that the issues cascaded and would be pretty much impossible to fix manually at this point.

          What I think is happening is that when you're force resetting hyperPad, it clears out some junk, but theres a chance that things can get confused with a "duplicated" scene and things start getting cascaded again.

          D Offline
          D Offline
          Deeeds
          wrote on last edited by
          #4

          @hamed I've found one of the problems.

          I was right. There is at least one fundamental problem.

          Loaded Scenes revert to a 60Hz refresh rate for the Physics Refresh Rate, regardless of what it's set to.

          Mine are all tuned to operate at 240Hz. When run at 60Hz, they're not nearly the same experience, most noticeable in how this negatively affects the camera's lerping.

          This was also playing havoc with other aspects of my loaded scenes, since my entire game (and its camera motion) is based on physics. But it was so noticeable in the camera that I'd often (wrongly) assumed it had something to do with the code in the camera movement acting differently in loaded scenes. It's not that... it's the fundamental of physics time causing this most horrible of problems.

          Haven't yet tracked down the bug that causes swapping between scenes to eventually fail.

          1 Reply Last reply
          0
          • HamedH Offline
            HamedH Offline
            Hamed
            Admin
            wrote on last edited by
            #5

            @deeeds said in Scenes are Broken:

            This was also playing havoc with other aspects of my loaded scenes, since my entire game (and its camera motion) is based on physics. But it was so noticeable in the camera that I'd often (wrongly) assumed it had something to do with the code in the camera movement acting differently in loaded scenes. It's not that... it's the fundamental of physics time causing this most horrible of problems.

            That is super strange! I'm glad you've been able to pin point exactly what part is broken. That gives me some ideas on where to look. If you can figure out the steps on how to reproduce it I can fix it much quicker

            D 1 Reply Last reply
            0
            • HamedH Hamed

              @deeeds said in Scenes are Broken:

              This was also playing havoc with other aspects of my loaded scenes, since my entire game (and its camera motion) is based on physics. But it was so noticeable in the camera that I'd often (wrongly) assumed it had something to do with the code in the camera movement acting differently in loaded scenes. It's not that... it's the fundamental of physics time causing this most horrible of problems.

              That is super strange! I'm glad you've been able to pin point exactly what part is broken. That gives me some ideas on where to look. If you can figure out the steps on how to reproduce it I can fix it much quicker

              D Offline
              D Offline
              Deeeds
              wrote on last edited by
              #6

              @hamed I don't think there's any magic to reproducing this. Every scene loaded by another scene seems to default back to 60Hz physics.

              If you want to see it for yourself, that project I sent you, that you pruned out all the suspended objects from, that does it. It's supposed to be at 240Hz, but the pruned version is at 60Hz.

              The original, I sent you, runs at 240Hz when you run/play a scene from the Editor. When you use the first scene to load a scene, however, it runs at 60Hz physics. And the problems begin instantly.

              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

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