Removing Unused Mesh ?

Discussion in 'Buildbox 3.0' started by rizwanashraf, Nov 2, 2020.

  1. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    Hey Guys !

    How do you remove Unused Meshes in your project sitting, Taking space for no reason !

    0--0 Unlocking them in a Mesh Manager Does not Work !

    Any good practice or its impossible :)

    Best.
     
  2. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    542
    Likes Received:
    340
    what buildbox version have you used for that on off system that you say did not worked?
     
  3. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    Hey Vlad !! Tested on all of these versions.
    3.3.2
    3.3.3
    3.3.4
    3.3.5 I guess this is the Latest if i am not wrong!
     
  4. Sean Buildbox

    Sean Buildbox Administrator

    Joined:
    Sep 24, 2015
    Messages:
    902
    Likes Received:
    1,076
    Just tried this and it worked fine. Did you save after unlocking the unused mesh? It is required to save the project to discard the meshes to be clear
     
  5. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    Yes I tried almost everything i could think of actually, Saved the project Multiple times, Rename the file name too lol which was not needed i believe. refreshed the atlas, Lock unlock Lock unlock the Meshes in Mesh Manager, Nothings working :/

    Due to some heavy Meshes i imported .bbdoc Filesize jumped from 1mb to 18mb and now Its stuck at 18mb!
     
  6. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    are these imported meshes (like from fbx files) or meshes from the asset library?
     
  7. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    Did you remove them from the directory or did you only remove them from inside the BB software?
     
  8. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    fbx, obj Files. Its a Mix Pickle Bottle right now inside my project is all unused.
     
  9. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    What do you mean by directory ? My bbdoc stays in my Dropbox Folder and My all assets stays in my Local drive.
     
  10. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    if from fbx, it cannot be removed, I've contacted support to resolve this issue about 3 months, i don't know if they resolve it or not, I still not update my buildbox
     
  11. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    343
    Likes Received:
    215
    Well, You got the answer for that! They did not :)
     
  12. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    I expected such an answer.
     
  13. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    542
    Likes Received:
    340
    ok, deleting the actual objects that contains the fbx file will delete your file from your sub scene, for 3d it will be enough to disable the mesh by clicking on the lock itself. for all other cases you just have to be careful what you import and when to import it. I suggest to use a "stable" bbdoc (a backup of the same bbdoc) and then do the change and if that does not work to reload the backup file.

    There's no need for a cleanup option in fbx since that could break some objects that you use with that same exact mesh.
     
  14. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    + even if you removed the fbx itself.
    Just for clarification...
     
  15. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    542
    Likes Received:
    340
    What directory are you talking about here?
     
  16. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    542
    Likes Received:
    340
  17. Josh (Nology Games)

    Josh (Nology Games) Avid Boxer

    Joined:
    Nov 27, 2017
    Messages:
    200
    Likes Received:
    155
    Whenever you export your game, you can open the exported file. from there you are able to reduce the size of the file by removing any unwanted objects.
     
  18. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    305
    Likes Received:
    158
    Vlad-NY likes this.
  19. Vlad-NY

    Vlad-NY Serious Boxer

    Joined:
    Jul 21, 2018
    Messages:
    542
    Likes Received:
    340
    Thank you for the update now we will know from what version this will work.
    Good job!
     
    Last edited: Nov 7, 2020
    mohamed awad likes this.

Share This Page