Navigation

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

    Drawing an object in a removed group crashes FUZE

    Bug Reporting (FUZE 4 Nintendo Switch)
    unlinkobject removeobject object group drawobjects
    2
    2
    236
    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

      There is an issue (FUZE 3.1.0) where FUZE crashes when trying to draw an object that is a child of a removed group. If the group itself is removed using removeObject() but the child object is not unlinked using unlinkObject(), the next drawObjects() call will crash FUZE with the system message "The software was closed because an error occurred."

      This code works correctly because the object is unlinked before drawObjects() is called:

      var obj = placeObject(cube, {0, 0, 0}, {1, 1, 1})
      var grp = createObjectGroup({0, 0, 0})
      
      setObjectParent(obj, grp)
      removeObject(grp)
      unlinkObject(obj)
      
      drawObjects()
      

      This code causes a crash because the object is not unlinked before drawObjects() is called:

      var obj = placeObject(cube, {0, 0, 0}, {1, 1, 1})
      var grp = createObjectGroup({0, 0, 0})
      
      setObjectParent(obj, grp)
      removeObject(grp)
      
      drawObjects()
      
      1 Reply Last reply Reply Quote 1
      • Kat
        Kat Fuze Team last edited by

        Thank you for the report and the steps to reproduce!

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