Releases: CyberAgentGameEntertainment/InstantReplay
Releases · CyberAgentGameEntertainment/InstantReplay
v1.5.4
What's Changed
Fixed
- Fixed compilation errors that occurred in projects where Universal Render Pipeline (URP) is not installed. The
InstantReplay.UniversalRPassembly is now excluded from compilation when URP is absent.
PRs
Full Changelog: v1.5.3...v1.5.4
v1.5.3
What's Changed
Fixed
- Fixed iOS build conflicts with other plugins that also subclass
UnityAppController. InstantReplay now registers its native rendering plugin through Unity'sLifeCycleListenermechanism instead of subclassingUnityAppController, allowing it to coexist with other plugins that useIMPL_APP_CONTROLLER_SUBCLASS.
PRs
Full Changelog: v1.5.2...v1.5.3
v1.5.2
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
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
- Fix NuGet release by @ruccho in #99
- Fix Apple muxer emits invalid MP4 for some decoders by @ruccho in #101
- Fix Metal command encoder crash by @ruccho in #102
- bump to v1.5.1 by @ruccho in #103
Full Changelog: v1.5.0...v1.5.1
v1.5.0
What's Changed
Added
- Added WebGL / WebGPU support.
- Added
EXCLUDE_INSTANTREPLAYscripting 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
- @kurobon-jp made their first contribution in #91
Full Changelog: v1.4.2...v1.5.0
v1.4.2
v1.4.1
v1.4.0
Breaking Changes
- Minimum Android API level is raised to 26 (8.0).
- Added an assembly
UniEnc.Unitycontaining Unity-specific extensions forUniEnc.
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);
- Old:
UniEnc.EncodingSystem
- Removed:
public unsafe ValueTask<BlitTargetHandle> BlitAsync(CommandBuffer cmd, Texture source, uint destWidth, uint destHeight, bool flipVertically)- Use
UniEnc.Unity.VideoEncoderExtensionsinstead:public static ValueTask PushFrameAsync(this VideoEncoder encoder, Texture source, double timestamp);
- Use
What's Changed
Added
- Added readback-free encoding pipeline for Android (Vulkan).
- Added
UnboundedRecordingSessionto record without duration limit.
Fixed
- Fixed
libunienc.dylibis 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
What's Changed
Fixed
- Fixed no frames are recorded when "load on startup" option for
libunienc.dylibis ignored accidentally on macOS Editor. - Fixed recorded video becomes brighter or darker than the original with gamma workflow.
PRs
- Improve reliability of plugin initialization by @ruccho in #71
- Support gamma workflow by @ruccho in #72
- bump to v1.3.1 by @ruccho in #73
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
Added
- Added readback-free encoding pipeline for iOS and macOS to reduce latency and memory usage.
- Added
RealtimeEncodingOptions.ForceReadbackto disable readback-free encoding pipeline.
PRs
Full Changelog: v1.2.2...v1.3.0