Git Product home page Git Product logo

Comments (11)

keenanwoodall avatar keenanwoodall commented on May 20, 2024 2

Just realised, the console had errors in it regarding read/write. I thought I had press the FIX IT button...

image

And I can't seem to be able to locate Combined Mesh in my project.. :(

The errors in the console indicate the game-object is statically batched. Unity is combining all the static game-objects into one mesh when you enter play-mode or make a build and the Deformable cannot read/write to that mesh.

from deform.

keenanwoodall avatar keenanwoodall commented on May 20, 2024

Sorry to hear about that. I tried going through your steps, but have been unable to reproduce the bug. Would it be possible for you to zip me a repro project?

from deform.

rlalance avatar rlalance commented on May 20, 2024

Certainly!

from deform.

rlalance avatar rlalance commented on May 20, 2024

Just realised, the console had errors in it regarding read/write. I thought I had press the FIX IT button...

image

And I can't seem to be able to locate Combined Mesh in my project.. :(

from deform.

rlalance avatar rlalance commented on May 20, 2024

Yup, I have read/write on all my rock meshes.

from deform.

rlalance avatar rlalance commented on May 20, 2024

@keenanwoodall Going to try with other rocks.
When I tried to package the scene, everything came in, so i'm not sure how to send you just the buggy rock.

from deform.

keenanwoodall avatar keenanwoodall commented on May 20, 2024

Each game-object has static flags for different things. If you check the static toggle on you turn on all static flags, but you can specifically disable static batching to fix the error.
image

That being said, I think the optimal way for Deform to handle this would be for the Deformable to detect if it is on a statically batched game-object and disable/remove itself automatically. I will look into adding this functionality.

from deform.

keenanwoodall avatar keenanwoodall commented on May 20, 2024

This problem is a symptom of a larger problem which is that Deform does not have a proper controls for Deformable stripping. I ended up making a new feature branch that adds a "Strip Mode" parameter to Deformable components. This parameter is forced on when static batching is enabled on a game-object
image

Let me know if this works for you! It should also solve the issue of meshes getting teleported as that was caused by static batching

from deform.

rlalance avatar rlalance commented on May 20, 2024

OH really!!! This is great!! Will try that ASAP.

from deform.

rlalance avatar rlalance commented on May 20, 2024

Umm, ok, I have one more error to solve and that should be it.
I think you can close this for now.

Thank you @keenanwoodall

from deform.

keenanwoodall avatar keenanwoodall commented on May 20, 2024

Sounds good, thanks for finding this issue!

from deform.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.