so when the cycle gets to midway or ends my game crashes and here is what it says pls help me i'm begging
UnauthorizedAccessException: Access to the path "C:\Users\*****\OneDrive\Documents\Klei\OxygenNotIncluded\RetiredColonies\bt-7274\00000\Jeanolin_cycle_0085.png" is denied.
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) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <695d1cc93cca45069c528c15c9fdd749>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.IO.File.Create (System.String path, System.Int32 bufferSize) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.File.Create (System.String path) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Timelapser.WriteToPng (UnityEngine.RenderTexture renderTex, System.Int32 world_id) (at <b2059d57da244ebc9fb8d55e7bbaa6c7>:0)
Timelapser.RenderAndPrint (System.Int32 world_id) (at <b2059d57da244ebc9fb8d55e7bbaa6c7>:0)
Timelapser+<Render>d__29.MoveNext () (at <b2059d57da244ebc9fb8d55e7bbaa6c7>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <72b60a3dd8cd4f12a155b761a1af9144>:0)
Build: U42-509629-V
i really don't know how it happened
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now