Hello!
it seems that this code line is crashing without any usefull debug info in Visual Studio.
(I narrowed it down to this single line…)
public Bounds[ ] MAIN_BOUNDS;
Is this replacable by something else?
Regards!
Hello!
it seems that this code line is crashing without any usefull debug info in Visual Studio.
(I narrowed it down to this single line…)
public Bounds[ ] MAIN_BOUNDS;
Is this replacable by something else?
Regards!
List should work.
You should fill a bug report with a reproduction project, though.
heey hello,
sorry that did not work. I got the same crash. :-s
update! the dictionary array type seems to be the only one that works. (read = does not crash)
Dictionary did work for you, because it’s not being serialized. While simple arrays and lists are serialized.
In any case, this is a bug…
Just to add if you don’t want for it to be serialized. You could have simply write
private Bounds[ ] bounds; (instead of public)
I think I might be running into the same problem. My game crashes in the on build with no explanation from VS. I’ve cleaned up all the arraylists out of my code. I’m trying to isolate what’s messing it up. But just so I understand stuff like:
var myObject : GameObject[];
var myString : String[];
var myBool : Boolean[];
var myTransforms : transform[];
Will result in a crash?
When I debug in VS it builds and right after the splash screen it closes back to the WinPhone8 screen. The debugger is still running with nothing in the call stack. When I stop the debugger in VS this is what it’s telling me.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Instance.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\WinRTBridge.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\BridgeInterface.winmd'. Module was built without symbols.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\UnityPlayer.winmd'. Module was built without symbols.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: 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' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\UnityEngine.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\UnityEngineProxy.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Assembly-CSharp-firstpass.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Assembly-CSharp.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Assembly-UnityScript-firstpass.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Assembly-UnityScript.DLL'. Symbols loaded.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\Boo.Lang.DLL'. Module was built without symbols.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\UnityScript.Lang.DLL'. Module was built without symbols.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'Anonymously Hosted DynamicMethods Assembly'.
'TaskHost.exe' (CLR C:\windows\system32\coreclr.dll: Silverlight AppDomain): Loaded 'C:\Data\Programs\{8BACE362-6E13-4406-A4AC-8D5120936743}\Install\UnityEngineDelegates.winmd'. Module was built without symbols.
The program '[3872] TaskHost.exe' has exited with code -2147483645 (0x80000003).
Can you go into project properties → debug and select native debugger rather than managed? Call stack should be more helpful then.
Thanks for the reply. Changed to native, got some more errors, but was able to load. The game is written in unityscript and I’m accessing C# scripts so that’s a problem according to the FAQ. Also wouldn’t pass WACK with the unityscript in there, fwiw some errors were:
> UnityPlayer.dll!6e5c5e60() Unknown
First-chance exception at 0x77CF1247 (KERNELBASE.DLL) in TaskHost.exe: 0x04242420 (parameters: 0x31415927, 0x71B40000, 0x00F2E908).
First-chance exception at 0x6DF70DF7 (Assembly-UnityScript.ni.dll) in TaskHost.exe: 0xC0000005: Access violation reading location 0x00000000.
Plus a bunch of .dll errors, also it said that level0 in the Data folder was corrupt and recommended deleting and restarting unity.