#unity keeps crashing when my player GameObject goes a certain distance

1 messages · Page 1 of 1 (latest)

novel topaz
#

im not sure whats causing it or how to even begin to ask how to fix it so i created this post

#

it looks like it happens when a certain amount of time passes?

hollow gazelle
#

!logs

zealous jasperBOT
# hollow gazelle !logs
📝 Logs

Documentation

Editor logs

Windows: %LOCALAPPDATA%\Unity\Editor\Editor.log
MacOS: ~/Library/Logs/Unity/Editor.log
Linux: ~/.config/unity3d/Editor.log

Unity Hub

Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
Mac: ~/Library/Application support/UnityHub/logs
Linux: ~/.config/UnityHub/logs

novel topaz
hollow gazelle
#

Copy paste the windows path from the bot message(-editor.log) into explorer path bar and it should open the right dir.

novel topaz
#

i tried that

hollow gazelle
#

What's the full path?

novel topaz
#

there was only 1 folder there

#

C:\Users\SAMSUNG\AppData\Roaming\Unity\Editor-5.x

hollow gazelle
#

What's in the Unity parent dir?

novel topaz
hollow gazelle
novel topaz
#

ah i see now

#

11
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
PEnemySpawn/<Enemyspawn>d__4:MoveNext () (at Assets/_GAME/_Player/_Player_Scripts/PEnemySpawn.cs:36)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

(Filename: Assets/_GAME/_Player/_Player_Scripts/PEnemySpawn.cs Line: 36)

12
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
PEnemySpawn/<Enemyspawn>d__4:MoveNext () (at Assets/_GAME/_Player/_Player_Scripts/PEnemySpawn.cs:36)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)

(Filename: Assets/_GAME/_Player/_Player_Scripts/PEnemySpawn.cs Line: 36)

#

im guessing its the PEnemySpawn script doing it then?

hollow gazelle
#

!code

zealous jasperBOT
hollow gazelle
#

Should probably look for a crash report at the very bottom(assuming you didn't reopen the editor after crash).

novel topaz
hollow gazelle
#

Maybe you're confusing with a freeze?

novel topaz
#

yea

#

thats what i ment yes