Skip to content

Releases: MerlinVR/UdonSharp

Bug fixes

04 Mar 19:58
Compare
Choose a tag to compare
  • 5b44b95: Fix accessing extern user fields that are array types, reported by AirGamer

Bug fixes

04 Mar 19:18
Compare
Choose a tag to compare
  • 0999344: Fix issue with scope propagation on user field accesses which could cause issues when reading from user fields in some cases, reported by AirGamer

Add the Udon type exposure tree view and bug fixes

03 Mar 09:14
Compare
Choose a tag to compare

This release adds a basic tool that's mostly only going to be used if you want to know what members from a type are exposed or not exposed. You can open this tool by opening Window > Udon Sharp > Class Exposure Tree. Right clicking on items will allow you to copy the Udon extern strings that they'd correspond to.

Features:

Bug fixes:

  • a9c4d87: Add support for implicit casting of indexer inputs to integers, reported by @Foorack
  • 2e8d35d: Fix issue with method resolution not finding constructors with 0 parameters, reported by @Foorack
  • 2e8d35d: Fix issues with the type resolver not resolving some types and methods correctly. This should now have full coverage on the types and methods that Udon currently exposes with the exception of Func and Action accessors which aren't accessible from the graph editor at the moment.
  • d14979c: Fix unary minus operator implicit conversion to higher precision types, reported by @Foorack

Fix problems with heaps larger than 512 and other fixes

02 Mar 01:27
Compare
Choose a tag to compare

This release enforces that all custom behaviours inherit from UdonSharpBehaviour and not MonoBehaviour if you have any classes that break, you will likely need to make them inherit from UdonSharpBehaviour to be compliant with this.

  • a35a6bd: Allow the heap to resize to fit the number of heap values that get used by the program instead of just using a fixed size of 512. This will expand up to an internal limit of 16384 heap values so it should be good enough for now. More effective reuse of heap variables is a target for improvement.
  • 69b2d12: Add handling for implicitly converting operators to higher precision operators in cases where you are adding two types like adding int and uint which will output a long in the C# compiler. Reported by @Foorack
  • a6ec5df: Enforce that custom behaviours inherit from UdonSharpBehaviour for now since it can cause issues that aren't clear to debug when you don't inherit from them. Reported by @cubedparadox

Fix user functions reusing their return symbol incorrectly

29 Feb 07:10
Compare
Choose a tag to compare
  • 482e711: Fix issue where user functions would reuse their return symbol which could cause issues in cases like this where the method is used multiple times without the result being assigned to anything Debug.Log(ROTRIGHT(x, 3) ^ ROTRIGHT(x, 18)); reported by @Foorack

Bug fixes

27 Feb 15:57
Compare
Choose a tag to compare
  • 2041397: Fix bit shifts on uint, long, and ulong, reported by @Foorack
  • 4b95af9: Fix infinite loop when using continue in for loops, reported by @Foorack
  • 41a5e8f: Add support for GetComponent<T> on GameObjects, reported by @orels1

Bug fixes

25 Feb 18:04
Compare
Choose a tag to compare
  • c443c68: Fix issues with using arithmetic operators on lower precision types so that they return int correctly, reported by @Foorack
  • 1f3a004: Fix storing arrays of UdonSharpBehaviour, reported by @synergiance

Add handling for VRCSDK base component references

24 Feb 20:35
Compare
Choose a tag to compare
  • eede251: Add handling for when the user uses the base component type of VRCSDK components instead of the VRCSDK3 version since there's confusing inheritance handling with them, reported by @gg67
  • eede251: Better handling to prevent compile spam in some cases due to the RefreshProgramImpl getting called over and over.

Fix U# asset creation

24 Feb 09:18
Compare
Choose a tag to compare
  • 4af84c8: Fix errors when attempting to create a new U# asset and it does not have a source file specified, reported by @PhaxeNor
  • 98e3bf1: Fix losing field data when entering play mode which would cause stuff like [HideInInspector] to stop working, reported by @orels1

Support for new UdonSDK

24 Feb 03:56
Compare
Choose a tag to compare
  • f667bb2: Fix compatibility with UdonSDK 2020.02.23.14.05