Skip to content

Releases: CyberAgentGameEntertainment/InstantReplay

v1.5.4

21 Apr 08:20
Immutable release. Only release title and notes can be modified.
1d20814

Choose a tag to compare

What's Changed

Fixed

  • Fixed compilation errors that occurred in projects where Universal Render Pipeline (URP) is not installed. The InstantReplay.UniversalRP assembly is now excluded from compilation when URP is absent.

PRs

Full Changelog: v1.5.3...v1.5.4

v1.5.3

21 Apr 03:07
Immutable release. Only release title and notes can be modified.
d8314f3

Choose a tag to compare

What's Changed

Fixed

  • Fixed iOS build conflicts with other plugins that also subclass UnityAppController. InstantReplay now registers its native rendering plugin through Unity's LifeCycleListener mechanism instead of subclassing UnityAppController, allowing it to coexist with other plugins that use IMPL_APP_CONTROLLER_SUBCLASS.

PRs

Full Changelog: v1.5.2...v1.5.3

v1.5.2

15 Apr 07:45
Immutable release. Only release title and notes can be modified.
c24fa4e

Choose a tag to compare

What's Changed

Fixed

  • Fixed a crash that could occur when the recorded texture is resized or destroyed during recording (e.g., window resize on macOS, or RenderTexture recreation). The native texture pointer is now resolved at the latest safe moment, preventing dangling pointer access.

PRs

  • Safe Texture lifetime handling for readback-free encoding by @ruccho in #104
  • bump to v1.5.2 by @ruccho in #105

Full Changelog: v1.5.1...v1.5.2

v1.5.1

10 Apr 02:55
Immutable release. Only release title and notes can be modified.
5edae4d

Choose a tag to compare

What's Changed

Fixed

  • Fixed a crash on iOS and macOS caused by Metal command encoder conflicts during readback-free encoding.
  • Fixed produced MP4 files on Apple platforms (iOS/macOS) being unplayable in some video players due to incorrect audio format description handling.
  • Fixed UniEnc NuGet package failing to be released due to libray name mismatch.

PRs

Full Changelog: v1.5.0...v1.5.1

v1.5.0

23 Mar 08:18
Immutable release. Only release title and notes can be modified.
bc81583

Choose a tag to compare

What's Changed

Added

  • Added WebGL / WebGPU support.
  • Added EXCLUDE_INSTANTREPLAY scripting symbol to exclude InstantReplay from the build.

Fixed

  • Fixed macOS universal standalone player build fails to run due to lack of universal binary of UniEnc.
  • Fixed crash on Windows environment with AMD GPU.
  • Fixed OOB crash when the input frame dimentions are odd.
  • Fixed memory leaks on Windows.

PRs

  • Add macOS universal binary for unienc by @ruccho in #93
  • Fix Crash on AMDGPU: Enhanced Attribute Checking for Windows Media Foundation Encoders by @kurobon-jp in #91
  • Feature: Exclude InstantReplay in Build by @kurobon-jp in #92
  • Support Web by @ruccho in #95
  • Fix OOB when odd-sized buffer is passed by @ruccho in #94
  • Fix memory leaks on Windows by @ruccho in #98
  • bump to v1.5.0 by @ruccho in #96

New Contributors

Full Changelog: v1.4.2...v1.5.0

v1.4.2

08 Jan 05:59
Immutable release. Only release title and notes can be modified.
353925c

Choose a tag to compare

What's Changed

Fixed

  • Fixed duration of the produced video may be wrong on Android

PRs

Full Changelog: v1.4.1...v1.4.2

v1.4.1

24 Dec 05:02
Immutable release. Only release title and notes can be modified.
2bbab10

Choose a tag to compare

What's Changed

Added

  • UniEnc (NuGet)
    • Updated UniEnc to contain debug symbols
    • Added support for .NET Standard 2.0 / 2.1

PRs

Full Changelog: v1.4.0...v1.4.1

v1.4.0

23 Dec 02:13
Immutable release. Only release title and notes can be modified.
7d723a2

Choose a tag to compare

Breaking Changes

  • Minimum Android API level is raised to 26 (8.0).
  • Added an assembly UniEnc.Unity containing Unity-specific extensions for UniEnc.

UniEnc.SharedBuffer

  • Type parameter is added: SharedBuffer<T> where T : unmanaged, IDisposable
  • Removed: public NativeArray<byte> NativeArray { get; }
  • Removed: public Span<byte> Span { get; }
  • Added: public T Value { get; }

UniEnc.SharedBufferPool

  • Moved to UniEnc.Unity.SharedBufferPoolExtensions:
    • Old: public unsafe bool TryAlloc(nuint size, out SharedBuffer buffer);
    • New: public static bool TryAllocAsNativeArray(this SharedBufferPool self, nuint size, out SharedBuffer<NativeArrayWrapper> buffer);

UniEnc.EncodingSystem

  • Removed: public unsafe ValueTask<BlitTargetHandle> BlitAsync(CommandBuffer cmd, Texture source, uint destWidth, uint destHeight, bool flipVertically)
    • Use UniEnc.Unity.VideoEncoderExtensions instead: public static ValueTask PushFrameAsync(this VideoEncoder encoder, Texture source, double timestamp);

What's Changed

Added

  • Added readback-free encoding pipeline for Android (Vulkan).
  • Added UnboundedRecordingSession to record without duration limit.

Fixed

  • Fixed libunienc.dylib is not imported for Apple Silicon macOS Player builds.

PRs

  • Readback-free encoding for Vulkan Android by @ruccho in #70
  • fix libunienc is not imported for Apple Silicon macOS players by @ruccho in #78
  • Add UnboundedRecordingSession by @ruccho in #52
  • Publish UniEnc as a NuGet package by @ruccho in #76
  • bump to v1.4.0 by @ruccho in #79

Full Changelog: v1.3.1...v1.4.0

v1.3.1

02 Dec 03:03
Immutable release. Only release title and notes can be modified.
08e32cc

Choose a tag to compare

What's Changed

Fixed

  • Fixed no frames are recorded when "load on startup" option for libunienc.dylib is ignored accidentally on macOS Editor.
  • Fixed recorded video becomes brighter or darker than the original with gamma workflow.

PRs

Full Changelog: v1.3.0...v1.3.1

v1.3.0

25 Nov 01:35
Immutable release. Only release title and notes can be modified.
b151356

Choose a tag to compare

What's Changed

Added

  • Added readback-free encoding pipeline for iOS and macOS to reduce latency and memory usage.
  • Added RealtimeEncodingOptions.ForceReadback to disable readback-free encoding pipeline.

PRs

Full Changelog: v1.2.2...v1.3.0