Search Issue Tracker

Duplicate

Votes

0

Found in

5.6.0p4

Issue ID

912823

Regression

Yes

[iOS][GLES2/3] Crash at "ParticleSystemGeometryJob"

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Set the graphics API to GLES2 or GLES3.
3. Build and run the project for iOS.
4. Move the character into the pit on the top of the pyramid.
- Touch left screen side to move.
- Touch right screen side to jump.

Actual behavior:
- Application crashes as soon as the character hits the ground:

frame #0: 0x0072ad02 SuzyCube`::GenerateParticleGeometry<ParticleSystemRenderMode::kSRMBillboard, false, false, false>() [inlined] WriteVBOData<float, math::floatNx3> at ParticleSystemGeometryJob.cpp:272 [opt]
frame #1: 0x0072acfe SuzyCube`::GenerateParticleGeometry<ParticleSystemRenderMode::kSRMBillboard, false, false, false>() at ParticleSystemGeometryJob.cpp:1070 [opt]
frame #2: 0x00704e10 SuzyCube`::RenderJob() [inlined] DrawBillboardsWith3DRotation<false, false> at ParticleSystemGeometryJob.cpp:1237 [opt]
frame #3: 0x00704e00 SuzyCube`::RenderJob() [inlined] DrawParticlesWithPivot<false> at ParticleSystemGeometryJob.cpp:1250 [opt]
frame #4: 0x00704dd0 SuzyCube`::RenderJob() [inlined] DrawParticles at ParticleSystemGeometryJob.cpp:1267 [opt]
frame #5: 0x00704cb8 SuzyCube`::RenderJob() at ParticleSystemGeometryJob.cpp:1562 [opt]

Reproduced with:
GLES2, GLES3
5.6.1p1, 2017.2.0a1
iPhone SE 9.3, iPhone 5 9.3, iPod Touch 10.2

Not reproducible with:
Metal,
Android (GLES),
5.5.3p4

Regression introduced in:
5.6

Note:
Full log attached in the edit.

RESOLUTION: Underlying cause same as of https://issuetracker.unity3d.com/product/unity/issues/guid/901096/

Comments (3)

  1. Emma453

    Feb 08, 2020 15:52

    Well, I'm new on your site. I have one idea for your business. so if you want that grow your business so simple go this site and upload your page link. I know it is is very helpful for you. <a href="https://standarddeviationcalculator.info/">sample standard deviation calculator</a>

  2. zhuangsy

    Feb 23, 2019 08:21

    unity crash in generateparticlegeometry
    device: iphone7-1
    unity version 5.6.5p2
    carshlog:
    Thread 0 Crashed:
    0 dfws2Test 0x0000000104e07f04 void GenerateParticleGeometry<(ParticleSystemRenderMode)0, false, false, false>(float*, ParticleSystemTempData const&, ParticleSystemRendererData const&, ParticleSystemModules const&, ParticleSystemParticles const&, ParticleSystemParticlesTempData const&) (ParticleSystemGeometryJob.cpp:272)
    1 dfws2Test 0x0000000104dec8c4 ParticleSystemGeometryJob::RenderJob(DynamicVBOGeometryJobData*, unsigned int) (ParticleSystemGeometryJob.cpp:1237)
    2 dfws2Test 0x0000000104d33ff8 JobQueue::Exec(JobInfo*, long long, int) (JobQueue.cpp:390)
    3 dfws2Test 0x0000000104d34978 JobQueue::WaitForJobGroup(JobGroupID) (JobQueue.cpp:1274)
    4 dfws2Test 0x0000000104d33440 ScheduleJobForEachDependsInternal(JobFence&, void (*)(void*, unsigned int), void*, int, JobFence const&, void (*)(void*), JobPriority) (Jobs.cpp:16)
    5 dfws2Test 0x0000000104c3ca18 GeometryJobTasks::ScheduleDynamicVBOGeometryJobs(GfxDevice&, void (*)(DynamicVBOGeometryJobData*, unsigned int), void (*)(DynamicVBOGeometryJobData*), void (*)(JobFence const&), DynamicVBOGeometryJobData*, unsigned int, GfxPrimitiveType, DynamicVBOChunkHandle*) (GeometryJob.cpp:225)
    6 dfws2Test 0x0000000104c3d9f8 GfxDevice::ScheduleDynamicVBOGeometryJobsInternal(void (*)(DynamicVBOGeometryJobData*, unsigned int), void (*)(DynamicVBOGeometryJobData*), void (*)(JobFence const&), DynamicVBOGeometryJobData*, unsigned int, GfxPrimitiveType, DynamicVBOChunkHandle*) (GfxDevice.cpp:574)
    7 dfws2Test 0x0000000104de9b74 ParticleSystemGeometryJob::ScheduleJobs(BaseRenderer**, unsigned long, Camera const*, Matrix4x4f const&) (ParticleSystemGeometryJob.cpp:1468)
    8 dfws2Test 0x0000000104b5f1f4 CallbackArray4<BaseRenderer**, unsigned long, Camera const*, Matrix4x4f const&>::Invoke(BaseRenderer**, unsigned long, Camera const*, Matrix4x4f const&) (CallbackArray.h:287)
    9 dfws2Test 0x0000000104b621b0 CullScene(SceneCullingParameters&, Camera const*, CullResults&) (Culler.cpp:261)
    10 dfws2Test 0x0000000104b61a7c Camera::CustomCull(CameraCullingParameters const&, CullResults&) (Camera.cpp:1179)
    11 dfws2Test 0x0000000104b61ae8 Camera::Cull(CullResults&, CullFlag) (Camera.cpp:954)
    12 dfws2Test 0x0000000104b997fc RenderManager::RenderCameras(int, void (*)()) (RenderManager.cpp:112)
    13 dfws2Test 0x0000000104fa3200 PlayerRender(bool) (Player.cpp:936)
    14 dfws2Test 0x0000000104d4c7a8 PlayerLoop() (PlayerLoop.cpp:220)
    15 dfws2Test 0x0000000105047f24 UnityPlayerLoopImpl(bool) (LibEntryPoint.mm:223)
    16 dfws2Test 0x0000000102df6804 _UnityRepaint (UnityAppController+Rendering.mm:271)
    17 dfws2Test 0x0000000102df66f0 -[UnityAppController(Rendering) repaintDisplayLink] (UnityAppController+Rendering.mm:78)
    18 QuartzCore 0x00000001c280b854 0x1c27fb000 + 67668
    19 IOKit 0x00000001be5a7b94 0x1be5a2000 + 23444
    20 CoreFoundation 0x00000001be2b0ff8 0x1be22c000 + 544760
    21 CoreFoundation 0x00000001be2d8844 0x1be22c000 + 706628
    22 CoreFoundation 0x00000001be2d7f90 0x1be22c000 + 704400
    23 CoreFoundation 0x00000001be2d2d48 0x1be22c000 + 683336
    24 CoreFoundation 0x00000001be2d21cc 0x1be22c000 + 680396
    25 GraphicsServices 0x00000001c0549584 0x1c053e000 + 46468
    26 UIKitCore 0x00000001eb515054 0x1eac2d000 + 9338964
    27 dfws2Test 0x0000000102df01c0 _main (main.mm:33)
    28 libdyld.dylib 0x00000001bdd92bb4 0x1bdd92000 + 2996

  3. ltf1987

    Jul 19, 2018 09:11

    unity crash in generateparticlegeometry
    hardware:Android GPU Adreno 405
    unity version 5.6.6 f2
    detail log:
    00 pc 00698820 libunity.so void GenerateParticleGeometry<(ParticleSystemRenderMode)0, false, false, false>(float*, ParticleSystemTempData const&, ParticleSystemRendererData const&, ParticleSystemModules const&, ParticleSystemParticles const&, ParticleSystemParticlesTempData const&) [armeabi-v7a]
    2 #01 pc 00671fa4 libunity.so ParticleSystemGeometryJob::RenderJob(DynamicVBOGeometryJobData*, unsigned int) [armeabi-v7a]
    3 #02 pc 002fae28 libunity.so JobQueue::Exec(JobInfo*, int, int) [armeabi-v7a]
    4 #03 pc 002fb3d8 libunity.so JobQueue::ProcessJobs(void*) [armeabi-v7a]
    5 #04 pc 002fa83c libunity.so JobQueue::WorkLoop(void*) [armeabi-v7a]
    6 #05 pc 003cc550 libunity.so Thread::RunThreadWrapper(void*) [armeabi-v7a]
    7 #06 pc 00012f1b /system/lib/libc.so (__pthread_start(void*)+30) [armeabi-v7a]
    8 #07 pc 00010fdf /system/lib/libc.so (__start_thread+6) [armeabi-v7a]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.