Editor out of range exceptions

When I'm using a C# Program script with a large number of #loads, I'm getting a System.ArgumentOutOfRangeException. An example is:
Position is not within syntax tree with full span [0..3836] (Parameter 'position')
Actual value was 8113

I can click cancel but it just keeps reappearing, almost at random and often on every keystroke, making the script unusable. I've yet to work out whether the issue is a specific script that is referenced by a #load or whether it's the number of #load statements.

Any ideas?


Sign In or Register to comment.