Skip to content

Releases: Xytabich/Katsudon

Small patch

23 Mar 01:17
Compare
Choose a tag to compare
  • Implemented handling of situations when a structure constructor is called as a method.

Nullable types & some improvements

23 Mar 00:00
Compare
Choose a tag to compare

Note: If you are installing without deleting the Katsudon folder, delete the Katsudon/Editor/Cache/UdonPartsCache.cs file as the cache structure has changed.

  • Added support for Nullable<T> types (example: int? intOrNull;)
  • Added check for existence of extern in udon (why didn't i do this before?)
  • Added copying only changed variables from proxy to behaviour in editor playmode
  • Fixed incorrect output type when using logical operations with bool
  • Upgrading to the latest version of VRCSdk

Editor fixes

23 Feb 18:33
Compare
Choose a tag to compare

Note: Before installing this package, go to an empty scene and then delete the Katsudon folder completely.

  • Minor builder fixes.
  • Copying variables between proxy and behavior is now based on AsmTypeInfo, which will avoid incorrect copying in some cases.
  • Moved the cache to the main assembly to avoid missing type errors.
  • A dummy editor has been made for UdonBehaviour, which will be used if there are errors in the project that prevent the Katsudon editor from being initialized. This will avoid losing links to programs.

Small patch

17 Nov 21:42
Compare
Choose a tag to compare
  • Fixed bit shift operator
  • Fixed bitwise number conversion
  • Fixed possible situations with passing a number of the wrong type to externs

Lots of fixes

16 Nov 17:19
Compare
Choose a tag to compare
  • Added support for the CustomMenu attribute in the inspector
  • Added search for replacements for generic methods if the input data is not of 'object' type. Will try to find a method with the same name and the same arguments (experimental)
  • Reworked initobj for structured data types. A constant is now used instead of a constructor.
  • Reworked switch. The jump table is now implemented in assembler instead of using an array of addresses.
  • Fixed build of explicit interface methods (there was no jump to the end of the program). Also empty methods are no longer included in the build.
  • Fixed arithmetic and logical operations with small data types (byte and short)
  • Fixed some enum operations
  • Fixed situations with incorrect use of tmp variables

Inspector and optimizations

01 Nov 00:03
Compare
Choose a tag to compare
  • Fixed the order of proxy initialization and changes tracking initialization, which is why the scene was constantly marked as "changed".
  • Optimization of the temporary variables usage
  • Redesigned UdonBehaviour's inspector. Now only the proxy header is shown, and UdonBehaviour's drag-and-drop operations are available through a special area on the header.

Added support for custom classes

07 Oct 09:11
Compare
Choose a tag to compare

Attention: before updating, go to an empty scene and then completely delete the Katsudon folder. After that you can import the new version of Katsudon.

  • Fixed some situations when shortcuts are not applied for properties.
  • Fixed casting errors that can occur if UdonBehaviour is not one of the ones built by Katsudon.
  • Fixed bugs with internal loops, which could result in an infinite loop.
  • Fixed a bug due to which the values in the UdonBehaviour could be reset when entering the play mode in the editor.
  • Reworked primitive converter for more convenient work.
  • Reworked udon value resolver.
  • Added re-serialization of values ​​in UdonBehaviour's if the types of values ​​do not match.
  • Added support for simple custom classes that are not behaviours.
  • Added a converter of Unity object types to more abstract ones. This will allow the use of fields with types that are not directly supported by Udon.
  • Added "Pull Values ​​From Behaviour" menu for proxies if you need to update some fields with reference types (for example, arrays).

(Update 2021-10-12: fixed katsudon version constant)

Reference variables fix (again)

27 Sep 11:28
Compare
Choose a tag to compare
  • Fixed inability to apply some operations to structures (i.e. operations with using pointers)
  • Added errors when the Sync attribute is used incorrectly

Fixes and additions

26 Sep 04:47
Compare
Choose a tag to compare
  • Small udon assembly optimizations.
  • Added simple branching support for compiler. This will fix situations where the compiler optimizes some branching operations (eg ternary operators), but Katsudon throws an unknown error on this.
  • Added support of TryGetComponent method.
  • Added "Katsudon/Convert Scene" menu item.

Reference variables fix

25 Sep 04:39
Compare
Choose a tag to compare
  • Fixed the premature saving of the reference variable, due to which the actual value is not applied.
  • Added "Copy disassembly" context menu when right-clicking on the "Program" header in the Udon Disassmbly window.