it seems that although AGI Studio can compile empty code blocks, it still has trouble reading them in. In working on the updated Base Logic Generator, I generated a compiled logic where the option "first room" was turned on but the options for the first room were such that there was no code placed inside that command block (i.e., the if statement in the compiled logic wound up looking something like ff fc 01 01 00 01 01 01 fc ff 00 00) -- AGI Studio said "encountered code block with length 0" and said the resource might be corrupted. I created a logic in AGI Studio with the code that I wanted to generate, compiled and extracted it, opened it in the Visual C++ hex editor and they're exactly the same. As its obviously not a problem with the code I'm generating, a suggestion for the next release of AGI Studio would be to fix this problem.