[Auto Migration enabled] New system for storing Physics Geometry for Part Operations and Mesh Parts released!

July 17, 2019 - Auto Migration Enabled
If you open a level in Studio that has Unions or MeshParts in them, they will automatically be migrated to the new system. Publishing said place will finalize this migration, which means you will not need to migrate again next time you open the level.

Migrated places should now load on RCC and Studio even faster. (If they had Unions and MeshParts in them…)

Additional benefits of the new system:

  • MeshParts and Unions in ServerStorage should no longer replicate physics data to Clients when joining. They will only replicate physics data if they are moved to a container that Client needs to know about.
  • Streaming places with MeshParts and Unions should also replicate physics data more intelligently.

IMPORTANT:
If you created new Mesh Part / Part Operation between 9am to 12:43pm PST on May 13, 2019 you may need to change Collision Fidelity and then back to get collisions to work properly, otherwise everything will collide as Block. Your game instances should be fine as I have kept the new pipeline enabled.

Hi All,

I released a change that should be almost invisible to all developers. It simply changes the internal way that we store physics data for Mesh Parts and Part Operations. This change is only active on Mesh Parts or Part Operations created from this point on, meaning old objects still use the old system.

The new system has the following benefits:

  1. Faster loading (Only noticeable on large levels that use Mesh Parts and Part Operations)
  2. Simpler storage
  3. Simpler architecture (This is mostly for Roblox internally)

I wanted to post here to ask anyone to report any issues they experience experience with Part Operation and Mesh Part physics data loading from this point on.

If you want to migrate your Mesh Parts or Part Operations to this new format, you can do so manually by changing Collision Fidelity to something else and back.

99 Likes

Very nice! This is a great change all around.

2 Likes

Awesome :smiley: glad to see improvements for Mesh Parts!!

How faster is this new system though :thinking:

6 Likes

Quick question: Is there a way to check what system a specific object uses to help report bugs?

5 Likes

Your mileage may vary, but we had an internal benchmark place that is a MASSIVE level with lots of Mesh Parts and CSGs that was taking 34 seconds to load, drop down to 17 seconds or less, but that 17 seconds includes other things that it was loading that we didn’t optimize.

If you isolate Mesh Parts and Part Operations the improvements were anywhere between 4x to 3x.

Basically it depends on how many Mesh Parts or CSGs you were loading to begin wish.

@Zomebody
Unfortunately not, but it only should be enabled for any CSGs that have had their physics data reprocessed as of this morning.

Reprocessing means this:

  • Change collision fidelity
  • Created Part Operation
  • Imported new Mesh Part
14 Likes

Is this data represented in rbxmx files? If so, any chance it could be documented so it would be easy/possible to integrate into external libraries?

4 Likes

Manually doing anything in .rbxmx files is not currently supported and has never been.

4 Likes

Roblox Studio seems to suddenly close everytime I attempt to change the Collision Fidelity

1 Like

Do these changes also apply to live time csg? It seems like that has been ignored since it was released as well as ignored by most developers. I’d like to use that during the summer but it takes a good bit of time to load from the server to clients so would this new update reduce that render time or is that a networking issue?

2 Likes

Anytime I go to import a mesh studio ends up crashing

4 Likes

I’m also dealing with the same problem.

1 Like

HEADS UP: I had to disable this Studio-side.

Those of you who were creating CSGs/MeshParts since 9am PST this morning may need to re-set Collision Fidelity. Your games should be unaffected, as I only disabled this Studio side.

2 Likes

I also am crashing anytime I import anything.

1 Like

A performance update is a happy update. Best of luck for the fixes, I’m looking forward to this!

1 Like

Ah, great fix for the people who were affected.

1 Like

Does this have any affect on memory usage?

1 Like

Glad they fixed this very happy for this.

1 Like

Testing a fix on this. I’m also adding better switching so that If an issue is found again, users don’t have to worry about manually re-generating collision data.

Will post re-enable ETA later today. (I guess this is kind of an ETA for an ETA. Like the games industry announcement of an announcement?)

5 Likes

Something not being “supported” doesn’t say much on whether you can or can’t do it.

Edit: Since my last post got flagged ill just stick it here.

tl;dr if my post was: Promoting exclusively long term solutions and not discussing short-term solutions is awful. We can’t wait 2 years just for functionality to be added in Studio. Let the developer decide if they should be or not be messing with it. Everybody is prepared for short-term solutions to need adaptation with updates.

1 Like

You should not be messing with custom file formats because they capable of changing without any announcement or warning.

If anyone needs to inspect the contents of an .rbxmx for any reason, this implies that either there is some functionality missing in Roblox Studio, or they are doing something they absolutely should not be.

1 Like