Skip to content

v3.0.0 Beta #1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Mar 07:02
  • Dropped support for .NET < 4.5 and consequently old Unity builds (< 2019).
  • Newly added json.emptyarray() which is a special (userdata) token which will be encoded in JSON as [].
    • This is in contrast to an empty Lua table which is encoded in JSON as {}.
  • Newly added json.isemptyarray(obj) which will return true if obj is our JSON empty array token.
  • json.parse now optionally takes a second parameter i.e. signature is json.parse(str, empty_array_tokens = false).
    • When empty_array_tokens is true, all [] are decoded as json.emptyarray() as opposed to an empty Lua table.
    • Handling empty array tokens does take some care, so the default behavior of json.parse(str) is unchanged.
  • Added debugger support for closure vars, globals and REPL at various stack frames.
  • Added support for conditional breakpoints.
  • Added support for delayed stack trace loading.
  • Multiple Script are now represented as threads when debugging, so you can properly debug multiple scripts simultaneously.
  • Fixed issues with Unity's ToString() throwing an exception that broke the debugger's ability to fetch variables.
  • Fixed support for expression evaluation when debugging a coroutine.
  • Fixed issue with MoonSharp breaking at the same breakpoint after continuing, but not informing VSCode that execution has paused.