`Run out of time` and `Infinite Loop Detected` error in CS4 levels

My student faced Infinite Loop Detected error:

The initial code to build the world never finished running. It’s probably either really slow or has an infinite loop. Or there might be a bug. You can either try running this code again or reset the code to the default state. If that doesn’t fix it, please let us know.

Though my students used the correct solution then tried reset and comment their code, the issue keeps happening. Goals are not accomplished and reported Ran out of time. Got this issue while playing CS4. Level 12 and 19.

The hero you are using may be too slow for these particular levels; as it is based on speed. Any of the default heroes should work.

1 Like

Let me try that out.

2 Likes