XSharp

Recoverable entity I/O

Invalid authored connections must not stop the simulation. Empty output/target/input names, unknown procedural selectors, missing outputs, unsupported output payloads, and dispatch errors on a single explicitly named target isolate the connection. Isolation removes its generated subscriptions and pending calls. Other connections continue normally.

An absent target is no longer a permanent configuration fault. A targetname, classname, GUID, index or procedural name can match no entity at dispatch time. The current event is skipped with a deduplicated warning; subsequent events are still eligible for delivery. Dynamic, wildcard, grouped and classname-fallback recipients are dispatched independently: an incompatible recipient does not stop compatible recipients from receiving the event. These failed deliveries are also logged only once per diagnostic key.

Trusted C# calls through EntityFactory.FireInput/RegisterOutput and immediate console ent_fire preserve a separate diagnostic case key. Unknown selectors and invalid static calls are isolated; missing targets may become available later. Delayed console and Lua fire_input calls use the shared event queue and skip failed deliveries without permanently disabling future independent requests.

Isolation, deduplicated warnings, pending events, and fire counts are captured in the level I/O snapshot. Loading/reconfiguring the level resets this state. Structural corruption, duplicate connection IDs, invalid delays or fire counts, and resource size limits remain preflight errors.

The execution budget permits 256 queued dispatches per simulation frame. If due work remains, the offending queued connections are isolated with a possible-cycle warning; excessive due direct calls are discarded. Queue overflow and unsupported output payloads isolate the offending authored connection.

Only attributed or explicitly registered inputs/outputs are callable, plus the existing Kill and IEnableDisable operations. A custom name in the editor does not expose arbitrary CLR methods.

See Procedural entity names for context, values, selectors and authoring semantics.