⁉️Troubleshooting

Restart Instructions

When creating instructions that run over time, such as continuously rotating a GameObject, you may want to restart the instruction list to create a loop.

Important: Always Wait 1 Frame

Before restarting the instruction list, add a Wait 1 Frame instruction. This brief delay allows Unity to finish processing the current frame and ensures the loop continues smoothly.

Why This Matters

Restarting the list without waiting a frame can trigger an immediate infinite loop, overwhelming Unity’s update cycle. This can cause the editor or game to freeze, becoming unresponsive.

Missing List / Missing Block Unexpectedly

LogicBlock uses a highly dynamic custom visual interface to deliver a powerful and intuitive editing experience. However, Unity’s UI system (VisualElement) can sometimes struggle with complex editor drawers like the one LogicBlock uses.

In rare cases, you may see fields display as “Missing Block” or “Missing List” inside the Run Instruction Block List or Run Conditions Block List instructions.

This can happen during:

  • Moving the Inspector window

  • Opening a second Inspector

  • Rapidly switching between GameObjects

  • Unity refreshing the layout mid-frame

Good News: It’s Only Visual

Your LogicBlock data is not affected. The instructions and references remain intact, and the list will function normally at runtime.

How to Fix It

Simply deselect and reselect the GameObject in the Hierarchy. The editor UI will refresh, and everything will display correctly again.

Last updated