Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Overflowing memory allocation by trying to load more than 124 models corrupts environment 0's background

    Bug Reporting (FUZE 4 Nintendo Switch)
    2
    2
    300
    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.
    • mozipha
      mozipha last edited by

      Here's a kind of obscure one.

      In FUZE 3.1.0, if you overflow memory allocation by trying to load more than 124 models and then open certain menus, environment 0's background will become visually corrupted until FUZE is restarted.

      Here's how to recreate:

      First, deliberately overflow memory allocation with the following code. The loaded model can use any valid filename.

      var i
      for i = 0 to 125 loop
      	loadModel("Devils Garage/waffle")
      repeat
      

      You'll get this error:

      2023070816421400_s.jpg

      Next, open the media browser, and select any 3D model to bring up the 3D model preview. You can either paste the filename into code or cancel out of the browser -- it doesn't matter as long as the model has been viewed.

      Alternately, backing out to the main menu and opening the programs menu will also trigger the glitch.

      Then run this code:

      setEnvironment(0, {0.5, 0.5, 0.5})
      drawObjects()
      update()
      sleep(5)
      

      Instead of environment 0's hills background, you'll see something resembling this, with a garbled version of the images that were present in the browser:

      2023070816462900_s.jpg

      As far as I can tell, there's no other effect from doing this aside from the corruption of environment 0's background. This corruption persists even if another project is loaded and lasts until FUZE is restarted.

      1 Reply Last reply Reply Quote 3
      • Kat
        Kat Fuze Team last edited by

        Wow, that's a funky one! Thank you for the report, mozipha.

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