Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Post Unity 2019.1 error
#17
(14-05-2019, 08:09 AM)josemendez Wrote: Seems Unity 2019.1 contains another -afaik undocumented- change in the way bone weights are assigned to a mesh. It performs a check to see whether the bone weights match the bone indices, so it does no longer allow empty bone weight arrays (that we used to deactivate built-in skinning for cloth). In previous Unity versions, empty bone weight arrays were not an issue.

As a workaround, in 2019.1 we've resorted to use a full bone weight array with all weights set to zero. This is suboptimal, but it's the only thing that works as of now. Find the attached ObiCloth.cs file and replace it in your project.

We will include this patch in the next update.


Hey, I tried the new script; for me this also does not work, get an error (see below) in Character Cloth Demo Scene , Unity 2019.1.1f1. Also tried other things mentioned here, increasing max bones, change optimize mesh.
Seems to render now, but lots of errors in console, and rendering seems completely broken.



Assertion failed on expression: 'offset + size <= bufLen'
0   Unity                               0x00000001085c621f _Z13GetStacktracei + 95
1   Unity                               0x000000010af66263 _Z17DebugStringToFileRK21DebugStringToFileData + 355
2   Unity                               0x000000010af63e6f _Z20AssertImplementationiPKciS0_ + 111
3   Unity                               0x000000010afd6ce1 _ZN11BufferMetal10BeginWriteEmmb + 657
4   Unity                               0x000000010afd69cd _ZN18GfxDeviceMetalBase12UpdateBufferEP9GfxBufferPKv20GfxUpdateBufferFlags + 93
5   Unity                               0x00000001091aad02 _ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer + 44642
6   Unity                               0x000000010afdb38c GfxDeviceWorkerAutoreleasePoolProxy + 60
7   Unity                               0x00000001091acd30 _ZN15GfxDeviceWorker6RunExtER20ThreadedStreamBuffer + 176
8   Unity                               0x000000010919f9d8 _ZN15GfxDeviceWorker18RunGfxDeviceWorkerEPv + 152
9   Unity                               0x0000000109f0e4af _ZN6Thread16RunThreadWrapperEPv + 1391
10  libsystem_pthread.dylib             0x00007fff6a788305 _pthread_body + 126
11  libsystem_pthread.dylib             0x00007fff6a78b26f _pthread_start + 70
12  libsystem_pthread.dylib             0x00007fff6a787415 thread_start + 13
Reply


Messages In This Thread
Post Unity 2019.1 error - by Saismirk - 16-04-2019, 07:11 PM
RE: Post Unity 2019.1 error - by josemendez - 16-04-2019, 07:24 PM
RE: Post Unity 2019.1 error - by Saismirk - 16-04-2019, 07:29 PM
RE: Post Unity 2019.1 error - by Saismirk - 16-04-2019, 09:57 PM
RE: Post Unity 2019.1 error - by josemendez - 16-04-2019, 10:15 PM
RE: Post Unity 2019.1 error - by Saismirk - 16-04-2019, 10:39 PM
RE: Post Unity 2019.1 error - by josemendez - 17-04-2019, 10:57 AM
RE: Post Unity 2019.1 error - by Saismirk - 17-04-2019, 09:29 PM
RE: Post Unity 2019.1 error - by Saismirk - 17-04-2019, 10:39 PM
RE: Post Unity 2019.1 error - by witskho - 09-05-2019, 10:59 PM
RE: Post Unity 2019.1 error - by josemendez - 10-05-2019, 07:08 AM
RE: Post Unity 2019.1 error - by witskho - 10-05-2019, 04:01 PM
RE: Post Unity 2019.1 error - by josemendez - 12-05-2019, 01:09 PM
RE: Post Unity 2019.1 error - by CARLA - 13-05-2019, 09:58 PM
RE: Post Unity 2019.1 error - by josemendez - 14-05-2019, 08:09 AM
RE: Post Unity 2019.1 error - by qlee01 - 16-05-2019, 04:10 PM
RE: Post Unity 2019.1 error - by witskho - 12-05-2019, 06:09 PM
RE: Post Unity 2019.1 error - by qlee01 - 20-05-2019, 09:23 AM
RE: Post Unity 2019.1 error - by josemendez - 20-05-2019, 09:43 AM
RE: Post Unity 2019.1 error - by digitalOctopus - 20-05-2019, 03:20 PM
RE: Post Unity 2019.1 error - by qlee01 - 20-05-2019, 07:14 PM
RE: Post Unity 2019.1 error - by Saismirk - 26-05-2019, 08:04 PM
RE: Post Unity 2019.1 error - by Saismirk - 26-05-2019, 10:49 PM
RE: Post Unity 2019.1 error - by gusrbehfdl - 04-06-2019, 06:00 PM
RE: Post Unity 2019.1 error - by gusrbehfdl - 11-06-2019, 10:28 PM
RE: Post Unity 2019.1 error - by qlee01 - 15-06-2019, 10:27 AM
RE: Post Unity 2019.1 error - by josemendez - 20-06-2019, 10:11 AM