max-ultra-mcp-community-skills

Reliability inside 3ds Max

Lessons from building and supporting TerraScoop on 3ds Max 2022-2027 (PySide2 and PySide6), each one a real failure. They apply to any Python + Qt tool in Max. The starter templates already follow them.

Start safety: crashes users can report

Users whose Max crashes when a tool starts can usually send only MaxPkg’s log, which mirrors the MAXScript Listener.

Python’s garbage collector in 3ds Max 2024

Max 2024 (PySide2 5.15.1 on Python 3.10) died at the first full collection after a large tool window was built; the same Python and PySide2 outside Max did not, even with a collection every 300 ms. The broken object comes from inside Max.

Dead Qt wrappers

Events 3ds Max takes first

3ds Max filters events for the whole application, before a widget’s own event filters:

Qt objects that took Max down

Threads, the GIL and heavy work

Keyboard

Web views (only if the tool embeds one)

Scene work

Windows, files, environment