Search Issue Tracker

Not Reproducible

Fixed in 2018.4

Votes

13

Found in

2018.3.0b7

2018.3.0f1

Issue ID

1106901

Regression

Yes

[Lighting]Errors in console on changing editor visualization mode to realtime GI if there is a particle system in scene.

MacOS

-

Steps To Reproduce:

1. Create a new project.
2. Hierarchy > Effects > Particle System.
3. Window > Rendering > Lighting Settings
4. Check Realtime GI.
5. Select different visualization modes under GI/Real-time GI in scene window.

Observed Result: Errors appear in the console

Reproducible On: 2019.1.0a11, 2018.3.0f1, 2018.3.0b7

Not Reproducible On: 2020.2.0a3, 2020.1.0b2, 2019.3.06f1, 2018.3.0b6

Environment: Occurs only on Mac.

Stack Trace:
1. Calling BeginWrite before EndWrite
2. Assertion failed on expression: 'task.rasterData.vertexBuffer == NULL'UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Comments (10)

  1. E4d486c512f989dea70a0492e301e9aa?d=mm

    messito

    May 28, 2020 18:45

    happens on unity 2019.3.11f1

  2. 8014521ad1502df88ca438c94d683ce3?d=mm

    tdarby

    Mar 07, 2020 04:54

    Seeing this (or something very similar) in 2019.3.3f1 on OS X. Appearing as two errors together.

    Stack trace for first error:

    Assertion failed on expression: 'task.rasterData.indexBuffer == NULL'
    #0 GetStacktrace(int)
    #1 DebugStringToFile(DebugStringToFileData const&)
    #2 AssertImplementation(int, char const*, int, int, char const*)
    #3 GeometryJobTasks::ScheduleSharedGeometryJobs(GfxDevice&, GeometryJobFence, void (*)(SharedGeometryJobData*, unsigned int), void (*)(SharedGeometryJobData*), void (*)(JobFence const&), SharedGeometryJobData*, unsigned int, DynamicVBOBuffer const*, DynamicVBOBuffer const*, bool)
    #4 GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
    #5 GfxDeviceWorkerAutoreleasePoolProxy
    #6 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
    #7 GfxDeviceWorker::RunGfxDeviceWorker(void*)
    #8 Thread::RunThreadWrapper(void*)
    #9 _pthread_body
    #10 _pthread_start
    #11 thread_start

    Stack trace for second error:

    Calling BeginWrite before EndWrite
    #0 GetStacktrace(int)
    #1 DebugStringToFile(DebugStringToFileData const&)
    #2 AssertImplementation(int, char const*, int, int, char const*)
    #3 BufferMetal::BeginWrite(BufferMetal::MetalVersionedBuffer*&, unsigned long, unsigned long, bool)
    #4 GfxDeviceMetalBase::BeginBufferWrite(GfxBuffer*, unsigned long, unsigned long)
    #5 DynamicVBOBufferManager::AcquireExclusive(GfxDevice&, GfxBufferTarget, unsigned long)
    #6 TrailRenderer::RendererCullingOutputReady(BaseRenderer**, unsigned long, RendererCullingCallbackProperties const&)
    #7 DispatchGeometryJobs(dynamic_array<BaseRenderer*, 0ul>*, RendererCullingCallbackProperties const&)
    #8 Camera::CustomRender(CullResults&, ShaderPassContext&, CameraRenderingParams const*, Camera::RenderFlag, Camera::PerformRenderFunction*, void (*)(), void (*)())
    #9 RenderManager::RenderCameras(int, void (*)(), void (*)())
    #10 RepaintController::RenderPlayModeViewCameras(RenderTexture*, int, Vector2f, bool, bool)
    #11 EditorGUIUtility::RenderPlayModeViewCamerasInternal(RenderTexture*, int, Vector2f, bool, bool)
    #12 EditorGUIUtility_CUSTOM_RenderPlayModeViewCamerasInternal_Injected(ScriptingBackendNativeObjectPtrOpaque*, int, Vector2f const&, unsigned char, unsigned char)
    #13 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorGUIUtility:RenderPlayModeViewCamerasInternal_Injected (UnityEngine.RenderTexture,int,UnityEngine.Vector2&,bool,bool)

  3. A73d22bf4b4a758f0c860d304663fa63?d=mm

    giorgos_gs

    Dec 02, 2019 11:24

    I see it in Windows 10 2019.3.0f1

  4. E36087cb948b1fcb2186051084fded18?d=mm

    EgoJacky

    Jul 19, 2019 11:20

    and happends to me on Windows 10 (Unity 2018.3.3f1)

  5. A704b3c3421171caded2414d63fbc9d5?d=mm

    chenfang

    Feb 11, 2019 04:45

    Happends to me on Windows 10 (Unity2018.3.2f1).How to solve this problem?

  6. 76ab6f021c3ec182a2925865d5509313?d=mm

    elbitvisual

    Jan 13, 2019 09:16

    Happened to me on Win 10, Unity 2018.3.0f2 as well.
    Using particle system in SteamVR

  7. 0951e4c24710a16aaa6c8c478afa0821?d=mm

    Warrior4Swords

    Jan 11, 2019 23:25

    Happens on Windows as well. You might wanna edit the issue report.

  8. 799da5837578b2129cc7006bbcdb787b?d=mm

    stonstad

    Jan 08, 2019 15:34

    To clarify, I see it on PC with 2018.3.0f2

  9. 799da5837578b2129cc7006bbcdb787b?d=mm

    stonstad

    Jan 08, 2019 15:34

    I'm seeing this on PC with a particle system. I can't tell when it happens, however.

  10. 4d03af01668d32617466c7b7d57d4521?d=mm

    Martin225

    Dec 14, 2018 16:03

    Happends to me on Windows 10 (Unity 2018.3.0f2)

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.