Closed 0x0ade closed 8 years ago
If you do any kind of thing that would cause GL calls (newing an Effect class does), you need to wrap it in a FezEngine.Tools.DrawActionScheduler.Schedule(() => { /* ... */ };
call in 1.12... or unset DISABLE_THREADING
:)
Ah, this could also explain my issue with the on-screen button textures in FEZ FNADroid being black when loaded in LoadContent, but properly rendering when loaded in Draw. At least .Speedrun works now again :D
About unsetting DISABLE_THREADING: Will FEZ 1.12 ship with DISABLE_THREADING set or unset? I remember it being set for fna-unstable. Unsetting it still makes FEZ hang.
1.12 will have DISABLE_THREADING
enabled, since it helps a bunch with performance.
Similar issues have happened with XnaToFna with BasicEffect. Currently makes FEZMod.Speedrun completely unusable and may kill other modules. It doesn't affect normal gameplay.
It only happens in FEZ 1.12. Weirdly it only happens sometimes or with DISABLE_THREADING (I guess basically when it would crash in #23).
STDOUT: