RobloxStudio Crash on OBJ Export

Hello Roblox Support Team,

We are experiencing a critical issue with exporting vehicle models as OBJ files out of Roblox Studio, which is blocking our rendering pipeline.

Issue Summary
OBJ export is failing for our vehicle models. This began approximately 2 weeks ago at a ~50% reproduction rate and has since escalated to 100% failure rate for multiple staff on our team.

Suspected Cause
We believe this may be related to the recent rollout of Emissive Masks:

Reproduction
We are happy to provide a sample .rbxl file to help reproduce the issue on your end. Please let us know if that would be helpful.

Repro steps:

  • Select the Model with EmissiveMaps under Workspace
  • Right click and Export as OBJ
  • Observe the long export and eventual crash

Thank you for your time — we look forward to hearing from you.

A private message is associated with this bug report

3 Likes

I have narrowed the problem down to specifically to any MeshPart with a child SurfaceAppearance that does not have ColorMap assigned. This will crash studio.

A workaround solution is fill the color maps with a full transparent image id. (ex: rbxassetid://9789474866)

Here is a command that accomplishes this:

-- Finds all SurfaceAppearance descendants under the selection and assigns a transparent ColorMap
-- Select the root Model and paste in Command Bar

local DEFAULT_COLOR_MAP = "rbxassetid://9789474866"

local fixed = 0
local skipped = 0

for _, instance in game.Selection:Get()[1]:GetDescendants() do
	if instance:IsA("SurfaceAppearance") then
		if instance.ColorMap == "" or instance.ColorMap == nil then
			instance.ColorMap = DEFAULT_COLOR_MAP
			fixed += 1
			print(string.format("[Fixed] %s (parent: %s)", instance:GetFullName(), instance.Parent and instance.Parent.Name or "N/A"))
		else
			skipped += 1
		end
	end
end

print(string.format("\nDone! Fixed: %d | Already had ColorMap: %d", fixed, skipped))
2 Likes

Hi, we’re taking a look! Thank you for your report!

1 Like

I feel like I’ve also been having issues with obj export crashing consistently as well, I can sometimes export but studio will still crash a few seconds after.

Hopefully these issues are resolved soon as obj export is a core feature to my plugin using PluginManager:ExportSelection() (apparently it’s no longer deprecated according to documentation) https://create.roblox.com/store/asset/16708835782/Blender-Animations-ultimate-edition

1 Like

Hi, this should be fixed now, at the small cost of emission maps not being exported. Thank you for this report, and please let us know if this is working or not.

Hint: You’ll need to restart studio.

1 Like

Hey @NightlyShores, I just tested exporting my assets again and looks like everything is working!

I appreciate the follow up and quick fix!

1 Like

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