inspirai/wilderness-scavenger

fps_replay_mac error

whl33886 opened this issue · 1 comments

fps_replay_mac error

UnauthorizedAccessException: Access to the path "/private/var/folders/nm/kwvjqvbs4y133585dt9gjd8rpkblf6/T/AppTranslocation/C40EF41E-7CB1-4444-B619-D5C142B1B704/d/fps_rplay_mac.app/Contents/Resources/Data/StreamingAssets/dump_replay.txt" is denied.
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean isAsync, System.Boolean anonymous) [0x00000] in :0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess)
at Client.GameReplayWorld.SaveDump () [0x00001] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:333
at Client.GameReplayWorld.Process_A2S_UpdateAgentCommand (Google.Protobuf.IMessage message) [0x00086] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:303
at Client.GameReplayWorld.PlayOneFrame () [0x00024] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:187
at Client.GameReplayWorld.FixedUpdate () [0x00047] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:165

(Filename: /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs Line: 333)

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in :0
at Client.GameWorld.Process_A2S_UpdateGame (FpsCommand.A2S_Reply_Data cmd) [0x00013] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameWorld.cs:509
at Client.GameReplayWorld.Process_A2S_UpdateAgentCommand (Google.Protobuf.IMessage message) [0x000ab] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:309
at Client.GameReplayWorld.PlayOneFrame () [0x00024] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:187
at Client.GameReplayWorld.FixedUpdate () [0x00047] in /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameReplayWorld.cs:165

(Filename: /Users/tingxuanwu/Documents/fps/FPSProject/fps/FPSGameUnity/Assets/Scripts/GameLogic/Battle/Logic/GameWorld.cs Line: 509)