Search Issue Tracker

Not Reproducible



Found in


Issue ID




[Linux Editor] Assertion failed: Reentered BeginCurrentContext after drag-and-dropping a material to the scene



Steps to reproduce:
1. Create a new project
2. In the scene, add a plane and a cube
3. Create a new material, change its color to red
4. Drag-and-drop the newly created material on the plane in Scene View

Result: console outputs an error
Assertion failed: Reentered BeginCurrentContext
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Reproduced on: 2017.1.0f1
Did not reproduce on: 5.6.2f1

Note: the issue does not always seem to reproduce, but I was able to reproduce it on the second attempt by following the video guide "unity2017.1.0xf1-assert-begincurrentcontext-1.ogv"

Comments (18)

  1. pagarpanelbeton

    Aug 18, 2020 12:50

    I found same problem, and I still trying to solved it

  2. mikelhenry

    Jul 30, 2020 10:43

    I'm still surprised by what is happening still shit is fucking disturbing me. Regards

  3. anekabeton

    Jul 04, 2020 10:30

    why this problem hasn't been solved until now. regards:

  4. Advis91

    Sep 18, 2018 00:27

    I got the same bug report, but I accidently opened additional window (experimental -> look dev) which I couldn't close, so I happened to Window -> Layouts -> Reset factory settings to reset the layout.
    Now I don't get the error message and the material is applied a lot faster. I happened to install the editor today...

  5. Advis91

    Sep 17, 2018 23:18

    Just tried this in 2018.2.7f1 and dragging materials applied the color to the plane and cube.
    However because the screen updates very slowly, I could release the drag and move the mouse away, before it would try to apply the material.

  6. OBI_Ron

    Jul 04, 2018 21:15

    Same here - Ubuntu 16.04 - 2018.1.5f1
    After creating a material and saving the scene, I re-open, and will get the error when selecting any object that has the material assigned.
    Assertion failed: Reentered BeginCurrentContext
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    However, after playing and stopping, the error goes away, and everything "appears" to work fine compiling.

  7. p0werew0p

    May 22, 2018 06:51

    Ubuntu 18.04
    Unity 2017.2.0b11
    the same problem, i can't put created material on terrain, and no Scene's materials in terrain's Inspector when Brush selected
    but all right if use material on new Cube

  8. whereiam114

    May 09, 2018 17:06

    i have same error on linuxmint too

  9. Gomenasai

    Apr 18, 2018 22:13

    I have same problem. But this problem do nothing for my project. I mean, i don't have any bug or something in my project.

    Elementary OS. (Ubuntu)

  10. AntMidd1977

    Apr 01, 2018 04:14

    I'm having same issue. Except mine won't run

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.