Studio crashes when CreateEditableImageAsync attempts to load corrupted PNG

Place the following corrupted image into the content folder:
corrupted

Create a new script and write the following:

local AssetService = game:GetService("AssetService")
AssetService:CreateEditableImageAsync("rbxasset://corrupted.png")

Then play test and watch studio crash.

Expected behavior

Engine should raise an error, not crash.

Thanks for the report! We’ll follow up when we have an update for you!

Thanks for your report, I have created a fix for this issue and it will be shipped over the following weeks.