Accessing PartOperation.ExtentsSize Crashes

Reproduction Steps

In Studio:

=Instance.new'UnionOperation'.ExtentsSize

In Game:

print(Instance.new'UnionOperation'.ExtentsSize)

Note: This only happens with “empty” PartOperations, creating a union with parts in Studio won’t cause a crash if you access ExtentsSize.
This happens with all PartOperations (UnionOperation, NegateOperation, etc.) Does not require print and will crash if you store the ExtentsSize to a variable. (Simply accessing the property crashes)

System Info: Windows 11, Intel i7-8700k, Nvidia RTX 3080

Expected Behavior

Correctly print the ExtentsSize of the UnionOperation/NegateOperation/etc.

Actual Behavior

A crash happens in Studio + Player:


(Crash DMP + logs in private message.)

Workaround

Use PartOperation.Size or use a Model to contain any PartOperations and use Model:GetExtentsSize()

Issue Area: Engine
Issue Type: Crashing
Impact: Moderate
Frequency: Sometimes
A private message is associated with this bug report

3 Likes

Can reproduce with:


There is another instance called “PartOperationAsset” but that seems to be an object used internally to save/load solid models.

Update: I have a fix for it. Due to winter holiday code freeze, I might not be able to ship it this year. In the meantime, I encourage you to use Size for now to avoid the crash. Sorry for the inconvenience!


Thanks for reporting! I’ll look into it.

1 Like

As of the latest Roblox Studio version this is now fixed, thanks above! (Also got pushed before next year so hurray!)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.