Closed huran438 closed 7 months ago
Can't use Compression in Unity. Tried switching .NET frameworks, adjusting link.xml, adding css.rsp. Nothing happens.
DllNotFoundException: __Internal assembly:<unknown assembly> type:<unknown type> member:(null) System.IO.Compression.BrotliDecoder.InitializeDecoder () (at <ca26f03d0a6b4183a31dcdd14c5a2f05>:0) System.IO.Compression.BrotliDecoder.EnsureInitialized () (at <ca26f03d0a6b4183a31dcdd14c5a2f05>:0) System.IO.Compression.BrotliDecoder.Decompress (System.ReadOnlySpan1[T] source, System.Span1[T] destination, System.Int32& bytesConsumed, System.Int32& bytesWritten) (at <ca26f03d0a6b4183a31dcdd14c5a2f05>:0) MemoryPack.Compression.BrotliDecompressor.DecompressCore (System.Buffers.OperationStatus& status, System.IO.Compression.BrotliDecoder& decoder, System.ReadOnlySpan1[T] source, System.Int32& consumed) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/Compression/BrotliDecompressor.cs:105) MemoryPack.Compression.BrotliDecompressor.Decompress (System.ReadOnlySpan1[T] compressedSpan, System.Int32& consumed) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/Compression/BrotliDecompressor.cs:38) MemoryPack.Compression.BrotliDecompressor.Decompress (System.ReadOnlySpan`1[T] compressedSpan) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/Compression/BrotliDecompressor.cs:23) _Client_.Scripts.Pathfinding.PathfindingView.PreInit () (at Assets/_Client_/Scripts/Pathfinding/PathfindingView.cs:53) UnityEngine.Debug:LogException(Exception) _Client_.Scripts.Pathfinding.PathfindingView:PreInit() (at Assets/_Client_/Scripts/Pathfinding/PathfindingView.cs:59) SFramework.Core.Runtime.SFView:Awake() (at ./Library/PackageCache/sp.sframework.core@abff371f86/Runtime/SFView.cs:14) UnityEngine.Object:Instantiate(GameObject, Transform) _Client_.Scripts.Services.Missions.MissionBehaviourView:LoadDungeon(Int32) (at Assets/_Client_/Scripts/Services/Missions/MissionBehaviourView.cs:71) _Client_.Scripts.Services.Missions.MissionBehaviourView:OnSelectStage(StageModel) (at Assets/_Client_/Scripts/Services/Missions/MissionBehaviourView.cs:63) _Client_.Scripts.Services.Missions.MissionsService:SelectStage(StageModel) (at Assets/_Client_/Scripts/Services/Missions/MissionsService.cs:42) _Client_.Scripts.Services.Missions.StageItemView:<PointerClick>b__20_0() (at Assets/_Client_/Scripts/Services/Missions/StageItemView.cs:186) _Client_.Scripts.Services.Missions.<>cDisplayClass15_0:<MoveToPosition>b0() (at Assets/_Client_/Scripts/Services/Missions/StagesScreenView.cs:174) DG.Tweening.Tween:OnTweenCallback(TweenCallback, Tween) DG.Tweening.Tween:DoGoto(Tween, Single, Int32, UpdateMode) DG.Tweening.Core.TweenManager:Update(Tween, Single, Single, Boolean) DG.Tweening.Core.TweenManager:Update(UpdateType, Single, Single) DG.Tweening.Core.DOTweenComponent:Update()
meet the same problem too, works well in il2cpp build, but throw this error in mono build
I believe it's an issue with Unity, so please report it to Unity.
Can't use Compression in Unity. Tried switching .NET frameworks, adjusting link.xml, adding css.rsp. Nothing happens.