Malformed AttributesSerialize property on an Instance causes a crash

Issue Type: Crashing
Impact: Moderate
Frequency: Sometimes
Date First Experienced: 2021-04-16

Reproduction Steps:

  1. Insert a model with a malformed AttributesSerialize property into Studio
  2. Observe that it causes a crash

EDIT: I removed the reproduction file because I realized it’s probably a bad idea to post something that can crash Studio publicly. Any engineer who wants a copy can DM me.

Expected Behavior:
Studio normally rejects invalid models (it puts up a dialogue saying that it’s corrupted). I expected it to do the same thing for a malformed attributes property.

Actual Behavior:
Studio crashes. Nothing is written to log files.

For what it is worth, I did not encounter this issue in the wild. This is a manufactured problem (I’m writing a spec file for the attribute blob format).

4 Likes

Thanks for the report.

Using the file you’ve shared with me I have been able to reproduce this locally and isolate the cause. I will follow-up here when the fix becomes available.

2 Likes