Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


scriptedimporter

ScriptedImporter

Debugging

ScriptedImporters run on Asset Import worker processes1). These importers can't be debugged normally with the Mono Debugger in Rider or Visual Studio. Breakpoints can be set, but will never be triggered, because the breakpoint is being set in the Editor process, not the Worker process.

Rider can connect to these worker processes manually if you want to debug them via “Attach To Unity Process…”.

1)
You can confirm this if you see [Worker0] on output logged by a ScriptedImporter
scriptedimporter.txt · Last modified: 2023/06/24 03:11 by 97.126.63.199