Table of Contents

Method RequireRuntimeCompilation

Namespace
GrindFest
Assembly
GrindFest.dll

RequireRuntimeCompilation()

Precondition for a test that compiles a script at runtime. Where the platform cannot load dynamic code (WebGL: ahead-of-time, no JIT) this throws DevTestSkipException and the runner records the test as skipped.

protected void RequireRuntimeCompilation()

Remarks

Measured 2026-09-20 in a WebGL player: CompilerTests.LocalScriptCompiles reported "Compile returned no assembly. Errors: <none>" — which is the guard doing its job (no JIT, so no assembly can ever come back), read as a failure. A test that cannot possibly run is not evidence of a bug, and calling it one buries the tests that really broke.