• Unity
  • Calling skeleton.Update() directly is crashing Unity

Related Discussions
...

EDIT: Resolved. Updating to the latest 3.6 unity runtimes stopped the crash. The later issues were due to using an incorrect floating point variable to store time.

ORIGINAL:

As part of a chain of actions, I have two spine skeletons.

One is the body. The other is a force field VFX. When an attack is launched at the body, if it hits the shield, the second spine skeleton turns on and plays a short immunity effect.

The overall code looks something like this:


if ( link.TargetSkeleton != null ) 
{
    var targetRenderer = link.TargetSkeleton.GetComponent<SkeletonRenderer>();
    var boneFoll = skeleton.gameObject.GetOrAddComponent<BoneFollower>();
    boneFoll.followBoneRotation = true;
    boneFoll.followLocalScale = true;

// Reinitalize that bone
if ( boneFoll.boneName != link.TargetBoneName )
{
    boneFoll.boneName = link.TargetBoneName;
    boneFoll.bone = null;
}

// Avoid doing this repeatedly, since its likely to only be done once 
if ( boneFoll.SkeletonRenderer != targetRenderer )
{
    boneFoll.SkeletonRenderer = targetRenderer;
}
if ( link.Link == BoneLink.LinkType.JumpToBoneAndStayInWorldSpace ) 
{
    skeleton.transform.SetParent(link.TargetSkeleton.transform, true);
    boneFoll.LateUpdate();
    skeleton.transform.SetParent(null, true);
    boneFoll.enabled = false;
}
else if ( link.Link == BoneLink.LinkType.JumpToBoneAndStayInLocalSpace )
{
    var oldParent = skeleton.transform.parent;
    skeleton.transform.SetParent(link.TargetSkeleton.transform, true);
    boneFoll.LateUpdate();
    skeleton.transform.SetParent(oldParent, true);
    boneFoll.enabled = false;
}
else
{
    boneFoll.enabled = true;
}
}


// Because I'm lazy, I'm just assuming these will always run on track 0.
if (skeleton.state == null)
    skeleton.Initialize(true);

if ( animName != null ) 
{
    int iLayer = 0;
    if ( link.Layer != null ) iLayer = link.Layer.Value;

var track = skeleton.state.SetAnimation(iLayer, animName, loop);


}

skeleton.Update();

if (skeleton.gameObject.activeSelf == false)
    skeleton.gameObject.SetActive(true);


This has been working fine for a while now - but as of just the last couple of days, Unity crashes (no error log or text presentation) 100% of the time until I comment out 'skeleton.Update()'

Do you have any hints for what the trouble might be? Should I not be calling the update function directly?


11 Jun 2017, 21:38


Here's the crash.log file:


Crash!!!
SymInit: Symbol-SearchPath: 'Z:/Program Files/Unity/Editor/Data/Mono;.;Z:\Projects\Atomech\project-sidescroller;Z:\Program Files\Unity\Editor;C:\WINDOWS;C:\WINDOWS\system32;SRV[i]C:\websymbols[/i]http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Alexander Brazie'
OS-Version: 10.0.15063 () 0x300-0x1
Z:\Program Files\Unity\Editor\Unity.exe:Unity.exe (0000000140000000), size: 67227648 (result: 0), SymType: 'PDB', PDB: 'Z:\Program Files\Unity\Editor\Unity_x64.pdb', fileVersion: 5.6.1.24755
C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FF94E090000), size: 1945600 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntdll.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FF94B970000), size: 712704 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNEL32.DLL', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FF94A740000), size: 2396160 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\KERNELBASE.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\ole32.dll:ole32.dll (00007FF94B820000), size: 1331200 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ole32.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\combase.dll:combase.dll (00007FF94BA50000), size: 3117056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\combase.dll', fileVersion: 10.0.15063.296
Z:\Program Files\Unity\Editor\FreeImage.dll:FreeImage.dll (0000000180000000), size: 2822144 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\FreeImage.dll', fileVersion: 3.11.0.0
C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FF94B4D0000), size: 1007616 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ucrtbase.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\RPCRT4.dll:RPCRT4.dll (00007FF94DAA0000), size: 1200128 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\RPCRT4.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FF94A990000), size: 434176 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\bcryptPrimitives.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\GDI32.dll:GDI32.dll (00007FF94BA20000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\GDI32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\USER32.dll:USER32.dll (00007FF94DBD0000), size: 1351680 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\USER32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\gdi32full.dll:gdi32full.dll (00007FF94A5B0000), size: 1609728 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\gdi32full.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\win32u.dll:win32u.dll (00007FF94B5D0000), size: 122880 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\win32u.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\msvcp_win.dll:msvcp_win.dll (00007FF94B430000), size: 630784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\msvcp_win.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\sechost.dll:sechost.dll (00007FF94DEC0000), size: 364544 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\sechost.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\COMDLG32.dll:COMDLG32.dll (00007FF94BD50000), size: 1081344 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\COMDLG32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\msvcrt.dll:msvcrt.dll (00007FF94C530000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\msvcrt.dll', fileVersion: 7.0.15063.0
C:\WINDOWS\SYSTEM32\HID.DLL:HID.DLL (00007FF949770000), size: 53248 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\HID.DLL', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\TextureConverter.dll:TextureConverter.dll (00007FF9068F0000), size: 6627328 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\TextureConverter.dll'
C:\WINDOWS\System32\shcore.dll:shcore.dll (00007FF94B6B0000), size: 696320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\shcore.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\umbraoptimizer64.dll:umbraoptimizer64.dll (00007FF9255F0000), size: 1515520 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\umbraoptimizer64.dll'
C:\WINDOWS\System32\ADVAPI32.dll:ADVAPI32.dll (00007FF94B600000), size: 659456 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\ADVAPI32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\SHLWAPI.dll:SHLWAPI.dll (00007FF94BEF0000), size: 331776 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SHLWAPI.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\WS2_32.dll:WS2_32.dll (00007FF94BF50000), size: 442368 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\WS2_32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\WLDAP32.dll:WLDAP32.dll (00007FF94BE60000), size: 376832 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\WLDAP32.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\ispc_texcomp.dll:ispc_texcomp.dll (00007FF924E40000), size: 1523712 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\ispc_texcomp.dll'
C:\WINDOWS\System32\SHELL32.dll:SHELL32.dll (00007FF94C660000), size: 21196800 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SHELL32.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\cfgmgr32.dll:cfgmgr32.dll (00007FF94B100000), size: 299008 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\cfgmgr32.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\libcef.dll:libcef.dll (00007FF8FCFA0000), size: 52191232 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\libcef.dll', fileVersion: 3.2062.1930.0
C:\WINDOWS\System32\windows.storage.dll:windows.storage.dll (00007FF94AA00000), size: 7282688 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\windows.storage.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\slapi.dll:slapi.dll (00007FF903AE0000), size: 6692864 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\slapi.dll', fileVersion: 15.0.9350.0
C:\WINDOWS\System32\kernel.appcore.dll:kernel.appcore.dll (00007FF94A500000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\kernel.appcore.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\PSAPI.DLL:PSAPI.DLL (00007FF94B5F0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\PSAPI.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\powrprof.dll:powrprof.dll (00007FF94A540000), size: 311296 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\powrprof.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\OLEAUT32.dll:OLEAUT32.dll (00007FF94B760000), size: 782336 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\OLEAUT32.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\System32\profapi.dll:profapi.dll (00007FF94A590000), size: 86016 (result: 0), SymType: '-nosymbols-', PDB: 'C:\WINDOWS\System32\profapi.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\CRYPT32.dll:CRYPT32.dll (00007FF94B260000), size: 1871872 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\CRYPT32.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.0_none_108e4f62dfe5d999\COMCTL32.dll:COMCTL32.dll (00007FF93F280000), size: 2519040 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.0_none_108e4f62dfe5d999\COMCTL32.dll', fileVersion: 6.10.15063.0
C:\WINDOWS\System32\IMM32.dll:IMM32.dll (00007FF94C5D0000), size: 184320 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\IMM32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\MSASN1.dll:MSASN1.dll (00007FF94A520000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MSASN1.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\SETUPAPI.dll:SETUPAPI.dll (00007FF94BFC0000), size: 4435968 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\SETUPAPI.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\MSVCP100.dll:MSVCP100.dll (0000000071380000), size: 622592 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVCP100.dll', fileVersion: 10.0.40219.325
C:\WINDOWS\SYSTEM32\MSVCR100.dll:MSVCR100.dll (00000000712A0000), size: 860160 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVCR100.dll', fileVersion: 10.0.40219.325
C:\WINDOWS\SYSTEM32\WINSPOOL.DRV:WINSPOOL.DRV (00007FF93E760000), size: 565248 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINSPOOL.DRV', fileVersion: 10.0.15063.138
C:\WINDOWS\SYSTEM32\Secur32.dll:Secur32.dll (00007FF93FBF0000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\Secur32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FF9063D0000), size: 1183744 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\OPENGL32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\USERENV.dll:USERENV.dll (00007FF94A430000), size: 167936 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\USERENV.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WINHTTP.dll:WINHTTP.dll (00007FF944340000), size: 880640 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINHTTP.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\urlmon.dll:urlmon.dll (00007FF942090000), size: 1867776 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\urlmon.dll', fileVersion: 11.0.15063.296
C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (00007FF944F20000), size: 106496 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\NSI.dll:NSI.dll (00007FF94C4A0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\NSI.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WTSAPI32.dll:WTSAPI32.dll (00007FF948920000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WTSAPI32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (00007FF949B50000), size: 225280 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\OLEACC.dll:OLEACC.dll (00007FF938530000), size: 438272 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\OLEACC.dll', fileVersion: 7.2.15063.0
C:\WINDOWS\SYSTEM32\WINMM.dll:WINMM.dll (00007FF947D20000), size: 143360 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMM.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\VERSION.dll:VERSION.dll (00007FF948350000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\VERSION.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\USP10.dll:USP10.dll (00007FF943820000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\USP10.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\LIBPQ.dll:LIBPQ.dll (00007FF903900000), size: 1957888 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\LIBPQ.dll', fileVersion: 9.3.2.14296
C:\WINDOWS\SYSTEM32\GLU32.dll:GLU32.dll (00007FF932600000), size: 180224 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\GLU32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\DNSAPI.dll:DNSAPI.dll (00007FF949B90000), size: 671744 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\DNSAPI.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WININET.dll:WININET.dll (00007FF937D80000), size: 3334144 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WININET.dll', fileVersion: 11.0.15063.296
C:\WINDOWS\SYSTEM32\bcrypt.dll:bcrypt.dll (00007FF94A3D0000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\bcrypt.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\iertutil.dll:iertutil.dll (00007FF941430000), size: 2646016 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\iertutil.dll', fileVersion: 11.0.15063.296
C:\WINDOWS\SYSTEM32\WINMMBASE.dll:WINMMBASE.dll (00007FF947B70000), size: 176128 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINMMBASE.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WSOCK32.dll:WSOCK32.dll (00007FF9418F0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WSOCK32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FF94A400000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\SSPICLI.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL:CRYPTBASE.DLL (00007FF949F70000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\OpenRL.dll:OpenRL.dll (0000000000CD0000), size: 12746752 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\OpenRL.dll', fileVersion: 1.5.100.10
Z:\Program Files\Unity\Editor\embree.dll:embree.dll (00007FF8FC2F0000), size: 13291520 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\embree.dll', fileVersion: 2.9.0.0
Z:\Program Files\Unity\Editor\tbb.dll:tbb.dll (00007FF92B6C0000), size: 409600 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\tbb.dll', fileVersion: 4.4.2016.127
C:\WINDOWS\SYSTEM32\MSVCP120.dll:MSVCP120.dll (00007FF925890000), size: 679936 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVCP120.dll', fileVersion: 12.0.21005.1
C:\WINDOWS\SYSTEM32\MSVCR120.dll:MSVCR120.dll (00007FF925500000), size: 978944 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSVCR120.dll', fileVersion: 12.0.21005.1
Z:\Program Files\Unity\Editor\OpenRL_pthread.dll:OpenRL_pthread.dll (0000000001910000), size: 61440 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\OpenRL_pthread.dll', fileVersion: 2.9.0.0
C:\WINDOWS\system32\uxtheme.dll:uxtheme.dll (00007FF948D20000), size: 610304 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\uxtheme.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\mswsock.dll:mswsock.dll (00007FF949DB0000), size: 376832 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\mswsock.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\MSCTF.dll:MSCTF.dll (00007FF94DF20000), size: 1466368 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\MSCTF.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\TextInputFramework.dll:TextInputFramework.dll (00007FF943D80000), size: 532480 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\TextInputFramework.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (00007FF944520000), size: 2957312 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CoreUIComponents.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (00007FF947370000), size: 929792 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CoreMessaging.dll', fileVersion: 10.0.15063.296
C:\WINDOWS\SYSTEM32\ntmarta.dll:ntmarta.dll (00007FF949800000), size: 200704 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ntmarta.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\wintypes.dll:wintypes.dll (00007FF9462B0000), size: 1282048 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wintypes.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\usermgrcli.dll:usermgrcli.dll (00007FF947460000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\usermgrcli.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\dwmapi.dll:dwmapi.dll (00007FF9488F0000), size: 172032 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dwmapi.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (00007FF944FB0000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\clbcatq.dll:clbcatq.dll (00007FF94C400000), size: 647168 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\clbcatq.dll', fileVersion: 2001.12.10941.16384
C:\WINDOWS\system32\wbem\wbemprox.dll:wbemprox.dll (00007FF942990000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\wbemprox.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\wbemcomn.dll:wbemcomn.dll (00007FF943F10000), size: 532480 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wbemcomn.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\wbem\wbemsvc.dll:wbemsvc.dll (00007FF93F1C0000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\wbemsvc.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\wbem\fastprox.dll:fastprox.dll (00007FF93F9A0000), size: 983040 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\wbem\fastprox.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (00007FF949F50000), size: 94208 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\CRYPTSP.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\rsaenh.dll:rsaenh.dll (00007FF9499D0000), size: 212992 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\rsaenh.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\Data\Mono\mono.dll:mono.dll (00007FF903620000), size: 2998272 (result: 0), SymType: 'PDB', PDB: 'Z:\Program Files\Unity\Editor\mono.pdb', fileVersion: 1.0.0.1
C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll:ondemandconnroutehelper.dll (00007FF93DC40000), size: 110592 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ondemandconnroutehelper.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WINNSI.DLL:WINNSI.DLL (00007FF9457F0000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINNSI.DLL', fileVersion: 10.0.15063.0
C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (00007FF943EA0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\rasadhlp.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\NLAapi.dll:NLAapi.dll (00007FF948360000), size: 98304 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\NLAapi.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\audioses.dll:audioses.dll (00007FF9459E0000), size: 1069056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\audioses.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\AVRT.dll:AVRT.dll (00007FF945800000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\AVRT.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\MMDevAPI.DLL:MMDevAPI.DLL (00007FF947CB0000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\MMDevAPI.DLL', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\DEVOBJ.dll:DEVOBJ.dll (00007FF949080000), size: 163840 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\DEVOBJ.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\PROPSYS.dll:PROPSYS.dll (00007FF9479D0000), size: 1662976 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\PROPSYS.dll', fileVersion: 7.0.15063.0
C:\WINDOWS\System32\WINTRUST.dll:WINTRUST.dll (00007FF94B150000), size: 352256 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\WINTRUST.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\WINSTA.dll:WINSTA.dll (00007FF949FB0000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\WINSTA.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\dataexchange.dll:dataexchange.dll (00007FF9389C0000), size: 290816 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dataexchange.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\d3d11.dll:d3d11.dll (00007FF946AE0000), size: 3010560 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\d3d11.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\dcomp.dll:dcomp.dll (00007FF9475E0000), size: 1187840 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dcomp.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\dxgi.dll:dxgi.dll (00007FF949410000), size: 671744 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\dxgi.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\system32\twinapi.appcore.dll:twinapi.appcore.dll (00007FF948DF0000), size: 1507328 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\twinapi.appcore.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\System32\fwpuclnt.dll:fwpuclnt.dll (00007FF945700000), size: 438272 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\System32\fwpuclnt.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\gpapi.dll:gpapi.dll (00007FF9492E0000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\gpapi.dll', fileVersion: 10.0.15063.0
C:\Windows\System32\cryptnet.dll:cryptnet.dll (00007FF9396D0000), size: 192512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\cryptnet.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\wdmaud.drv:wdmaud.drv (00007FF944B50000), size: 266240 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\wdmaud.drv', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\ksuser.dll:ksuser.dll (00007FF928E20000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\ksuser.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\msacm32.drv:msacm32.drv (00007FF947D90000), size: 53248 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\msacm32.drv', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\MSACM32.dll:MSACM32.dll (00007FF946140000), size: 114688 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\MSACM32.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\midimap.dll:midimap.dll (00007FF9468B0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\midimap.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\aticfx64.dll:aticfx64.dll (00007FF945C10000), size: 1470464 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\aticfx64.dll', fileVersion: 8.17.10.1404
C:\WINDOWS\SYSTEM32\atiuxp64.dll:atiuxp64.dll (00007FF948550000), size: 163840 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\atiuxp64.dll', fileVersion: 8.14.1.6463
C:\WINDOWS\SYSTEM32\atidxx64.dll:atidxx64.dll (00007FF93FF70000), size: 11923456 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\atidxx64.dll', fileVersion: 8.17.10.625
C:\WINDOWS\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FF93F540000), size: 1740800 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\dbghelp.dll', fileVersion: 10.0.15063.250
Z:\Program Files\Unity\Editor\tbbmalloc.dll:tbbmalloc.dll (00007FF9289E0000), size: 368640 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\tbbmalloc.dll', fileVersion: 4.4.2016.127
Z:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\VR\Win64\AudioPluginMsHRTF.dll:AudioPluginMsHRTF.dll (00007FF902930000), size: 3072000 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\VR\Win64\AudioPluginMsHRTF.dll'
C:\WINDOWS\SYSTEM32\HrtfApo.dll:HrtfApo.dll (00007FF925BF0000), size: 372736 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\HrtfApo.dll', fileVersion: 10.0.15063.0
Z:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\VR\Win64\AudioPluginOculusSpatializer.dll:AudioPluginOculusSpatializer.dll (00007FF902E50000), size: 2371584 (result: 0), SymType: '-exported-', PDB: 'Z:\Program Files\Unity\Editor\Data\UnityExtensions\Unity\VR\Win64\AudioPluginOculusSpatializer.dll'
C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll:Microsoft.VisualStudio.Setup.Configuration.Native.dll (00007FF9341E0000), size: 385024 (result: 0), SymType: '-exported-', PDB: 'C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll', fileVersion: 1.9.77.53636
C:\WINDOWS\system32\explorerframe.dll:explorerframe.dll (00007FF932170000), size: 4726784 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\system32\explorerframe.dll', fileVersion: 10.0.15063.0
C:\WINDOWS\SYSTEM32\xinput1_3.dll:xinput1_3.dll (0000000015CE0000), size: 122880 (result: 0), SymType: '-exported-', PDB: 'C:\WINDOWS\SYSTEM32\xinput1_3.dll', fileVersion: 9.18.944.0

========== OUTPUTING STACK TRACE ==================

0x0000000140C65BD7 (Unity) MeshRenderingData::ExtractMeshBuffersAndDrawRange
0x0000000140B931B2 (Unity) DrawUtil::DrawMeshRawFromNodeQueue
0x00000001409E6843 (Unity) BatchRenderer::RenderBatch
0x00000001409F95A5 (Unity) InitLightMeshes
0x0000000140ADE553 (Unity) GfxDevice::ExecuteAsync
0x00000001409FA88E (Unity) ForwardShaderRenderLoop::StartRenderJobs
0x00000001409FAC3C (Unity) ForwardShaderRenderLoop::PerformRendering
0x0000000140A0161D (Unity) DoForwardShaderRenderLoop
0x0000000140A0745C (Unity) DoRenderLoop
0x000000014093524B (Unity) Camera::DefaultPerformRenderFunction::operator()
0x00000001409393D4 (Unity) Camera::MultiCustomRender
0x0000000140960C87 (Unity) Camera::DoRender
0x000000014150CD03 (Unity) Camera::RenderEditorCamera
0x000000014150D662 (Unity) Camera::RenderEditorCamera
0x0000000039ECA8AB (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Handles:Internal_DrawCameraWithGrid (UnityEngine.Camera,int,UnityEditor.DrawGridParameters&)
0x0000000039EBBBFE (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\editor\EditorHandlesBindings.gen.cs:902] UnityEditor.Handles:DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool) 
0x0000000039EBB1D3 (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\editor\EditorHandlesBindings.gen.cs:922] UnityEditor.Handles:DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters) 
0x0000000039EB9FD7 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1113] UnityEditor.SceneView:DoDrawCamera (UnityEngine.Rect,bool&) 
0x0000000039E9306F (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1541] UnityEditor.SceneView:OnGUI () 
0x0000000000827132 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF903745737 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke 
0x00007FF903698435 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke 
0x00007FF90369E943 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:3838] mono_runtime_invoke_array 
0x00007FF90365CE33 (mono) [c:\buildslave\mono\build\mono\metadata\icall.c:2750] ves_icall_InternalInvoke 
0x00000000007F09A7 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
0x00000000007EEB02 (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222] System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 
0x0000000011DB9A3F (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115] System.Reflection.MethodBase:Invoke (object,object[]) 
0x000000002D4F9D75 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:262] UnityEditor.HostView:Invoke (string,object) 
0x000000002D4F9C17 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:255] UnityEditor.HostView:Invoke (string) 
0x000000002F805CE3 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:222] UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect) 
0x000000002F7E9E6D (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:346] UnityEditor.DockArea:OnGUI () 
0x0000000000827132 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF903745737 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke 
0x00007FF903698435 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke 
0x00000001410645B5 (Unity) scripting_method_invoke
0x0000000141059DF1 (Unity) ScriptingInvocation::Invoke
0x0000000140D01F9F (Unity) MonoBehaviourDoGUI
0x0000000140CF4C40 (Unity) IMGUIModule::MonoBehaviourDoGUI
0x00000001414A0A2D (Unity) MonoBehaviour::DoGUI
0x00000001417D69E3 (Unity) GUIView::OnInputEvent
0x000000014008F8B3 (Unity) GUIView::ProcessInputEvent
0x00000001417D2746 (Unity) GUIView::DoPaint
0x00000001417D5760 (Unity) GUIView::RepaintAll
0x000000014171B497 (Unity) Application::UpdateScene
0x000000014171CAAF (Unity) Application::UpdateSceneIfNeeded
0x000000014172532A (Unity) Application::TickTimer
0x00000001417F0ABC (Unity) CrashCallback
0x00000001417F2704 (Unity) WinMain
0x0000000141AD7444 (Unity) strnlen
0x00007FF94B982774 (KERNEL32) BaseThreadInitThunk
0x00007FF94E100D61 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

11 Jun 2017, 22:01


Okay, updating to the latest 3.6 spine csharp runtimes fixed the crash.

However, now the animations don't play to completion. Continuing to investigate...

  1. Calling SkeletonAnimation.Update() is fine. That's what a manual frame-skipping SkeletonAnimation component does.
  2. Seems innocuous: spine-runtimes/SkeletonAnimation.cs at 3.6-beta
    It also doesn't touch the mesh. That happens in LateUpdate. This is all C# stuff.
  3. That crash log looks all sorts of messed up.
  4. Are you calling this per frame? Are you calling SkeletonAnimation.Initialize(true)? You're force-reinstantiating the skeleton?

This is only called once, when the skeleton is initially attached, then the 'shimmer' vfx is played.


11 Jun 2017, 22:55


Recording the 'after' video shortly... here's the before:

https://slack-files.com/T08T0G6EN-F5MJV9A4R-f468318bb9


11 Jun 2017, 22:57


As you saw in the above link (linked because file size too big for forum upload) the shimmer finishes completely.

Now with the latest 3.6 it no longer crashes, but also no longer completes:

(this might be an issue with how I am listening to events? saw a thread earlier)


11 Jun 2017, 23:02


Okay... apologies, now that it's no longer crashing, I think this issue is on my end now.

For some reason it thinks the animation has completed after exactly 1 frame of playing. I think it has to do with how I'm measuring time... which is likely due to a recent change to make synchronized multiplayer work.


11 Jun 2017, 23:32


Hrm.... or maybe not?


11 Jun 2017, 23:33


It's basically a fire and forget animation.... and the track data looks correct (0.667 sec)... but the animation immediately stops after a frame.


11 Jun 2017, 23:33


Ooh, there's no need for a mix time here on this skeleton. Maybe that's eating away at the frames.


11 Jun 2017, 23:37


And found it. It was a place where I failed to convert Time.time to our new adjustable TrueSyncManager.time value. Woo