Search Issue Tracker
Not Reproducible
Fixed in 2018.4.X
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.
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
messito
May 28, 2020 18:45
happens on unity 2019.3.11f1
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)
giorgos_gs
Dec 02, 2019 11:24
I see it in Windows 10 2019.3.0f1
EgoJacky
Jul 19, 2019 11:20
and happends to me on Windows 10 (Unity 2018.3.3f1)
chenfang
Feb 11, 2019 04:45
Happends to me on Windows 10 (Unity2018.3.2f1).How to solve this problem?
elbitvisual
Jan 13, 2019 09:16
Happened to me on Win 10, Unity 2018.3.0f2 as well.
Using particle system in SteamVR
Warrior4Swords
Jan 11, 2019 23:25
Happens on Windows as well. You might wanna edit the issue report.
stonstad
Jan 08, 2019 15:34
To clarify, I see it on PC with 2018.3.0f2
stonstad
Jan 08, 2019 15:34
I'm seeing this on PC with a particle system. I can't tell when it happens, however.
Martin225
Dec 14, 2018 16:03
Happends to me on Windows 10 (Unity 2018.3.0f2)