我有一个场景,大约有10个预制件在开始时被实例化。当我从前一个场景切换到这个场景时,游戏崩溃了。我不知道为什么。我在Visual Studio中尝试过调试模式,但没有任何帮助。这是输出日志。
WARNING: Async debugging features are unavailable for this debug session because ETW event collection could not be enabled.
'TaskHost.exe' (CoreCLR: DefaultDomain): Loaded 'C:\windows\system32\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.RuntimeHost.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Windows.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Net.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Xml.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\TrippyBubble.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\Microsoft.Phone.Interop.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\WinMetadata\Windows.winmd'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\WinRTBridge.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\BridgeInterface.winmd'. Module was built without symbols.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\UnityPlayer.winmd'. Module was built without symbols.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Core.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\windows\system32\System.Runtime.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\UnityEngine.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\Assembly-UnityScript.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\Boo.Lang.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\UnityEngine.UI.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\UnityScript.Lang.DLL'. Symbols loaded.
'TaskHost.exe' (CoreCLR: Silverlight AppDomain): Loaded 'C:\Data\Programs\{B89FE9EE-B6B1-49FA-BD9E-6E8842CBA4CF}\Install\WinRTLegacy.DLL'. Module was built without symbols.
The thread 0x6ac has exited with code 259 (0x103).
The program '[2548] TaskHost.exe' has exited with code -2147220978 (0x8004020e).
我尝试禁用对象的实例化并再次构建它。没有变化它是完全一样的。崩溃。以前它曾经工作过,据我所知,我没有改变任何设置。