Skip to content

Releases: aosoft/unity-native-plugin-rs

v0.9.0

06 May 06:55
aba9dc8

Choose a tag to compare

  • Metal backend support (@ruccho)
  • Vulkan support is now built into unity-native-plugin (the separate unity-native-plugin-vulkan crate has been removed)
  • New D3D12 v8 interface and per-version traits (UnityGraphicsD3D12v2Interfacev8Interface)
  • reserve_event_id_range added to IUnityGraphics, and GUID fix for IUnityGraphicsVulkanV2 (@ruccho)
  • GitHub Actions CI for Windows / macOS / Linux

Breaking changes

  • unity-native-plugin-vulkan crate has been removed — use unity-native-plugin with features = ["vulkan"]. Imports also move from unity_native_plugin_vulkan::vulkan::* to unity_native_plugin::vulkan::*.
  • profiler_callbacks feature has been merged into profiler (single feature now exposes both IUnityProfiler and IUnityProfilerCallbacks).
  • Methods are now provided through traits, published under both a Rust-conventional *Interface name (e.g. UnityGraphicsD3D11Interface) and an IUnity* alias matching the C header. Bring the trait into scope with use to call methods such as renderer(), device(), emit_event(), etc. — without it, those methods will appear to be missing.
  • ComPtr moved from d3d11 / d3d12 to unity_native_plugin::windows.
  • D3D11 typo fixes: texture_from_natvie_texturetexture_from_native_texture, srv_from_natvie_texturesrv_from_native_texture.
  • GfxRenderer::ReservedCFEGfxRenderer::Nvn2.
  • VulkanInstance::get_instance_proc_addr now returns Option<PFN_vkVoidFunction> (ash standard) instead of a sys-defined enum — match on Option instead of the previous custom None variant.

v0.8.0

29 Jun 15:26
6687fc4

Choose a tag to compare

  • Update Native Plugin SDK (Unity Ver.6000.1.8f1)
  • Update interfaces
    • d3d12
  • Make profiler metadata accessible (@ruccho)
  • Update Rust edition (2024)

v0.7.0

04 Aug 16:54
db156e2

Choose a tag to compare

  • Update interfaces
    • d3d12
    • vulkan
    • profiler
  • Update Rust edition (2021)

v0.6.0

16 Jul 14:14
4ce1d58

Choose a tag to compare

  • Update Native Plugin SDK (Unity Ver.6000.0.10f1) (@ZhaoXiangXML)
  • Add support new headers
    • IUnityLog.h
    • IUnityMemoryManager.h
  • Update interface for D3D11

v0.5.1

26 Jun 15:07
9ddd3cc

Choose a tag to compare

v0.5.1 Pre-release
Pre-release
  • Update ash 0.33.1

v0.5.0

15 Sep 17:26
d835e76

Choose a tag to compare

v0.5.0 Pre-release
Pre-release
  • Add support profiler_callbacks (@yjh0502)
  • Add unity-native-plugin-sample-profiler (@yjh0502)
  • Update unity-native-plugin-sys (Unity 2020.3.13f1 based)

v0.4.1

28 Nov 16:27

Choose a tag to compare

v0.4.1 Pre-release
Pre-release

v0.4.0

28 Oct 15:40

Choose a tag to compare

v0.4.0 Pre-release
Pre-release
  • Add "IUnityProfiler.h" support (mod profiler)
    • "IUnityProfiler.h" is available since Unity 2020.1
  • Improve API

v0.3.0

12 Sep 15:43

Choose a tag to compare

v0.3.0 Pre-release
Pre-release
  • Add Vulkan support

v0.2.0

06 Sep 15:43

Choose a tag to compare

v0.2.0 Pre-release
Pre-release
  • Add D3D12 support