The
error occurs when you write to an editor, such as the log redirection described earlier, and occurs when you double-click.
problem is solved by locating the specific code, and then delaying the execution of this line of code. The delay time is when the editor GUI is updated, there is a corresponding callback in unity, and the code can be executed by putting it in the callback. For example, the log redirection corresponds to the following change:
EditorApplication.delayCall = delegate(){ AssetDatabase.OpenAsset(obj, line); };
- 1
Read More:
- Unity 3D – assertion failed: assertion failed on expression: ‘! Getmaineditorwindow()’ error
- Assertion failed: Assertion failed on expression: ‘pred(* previous, *i)’
- [Solved] Unity Error: Assertion failed on expression: ‘m_ErrorCode == MDB_MAP_RESIZED
- Error: (- 215: assertion failed)
- Failed to restart ssh.service: Unit not found.
- Debug Assertion Failed! Detailed solution
- PCL Programming Notes — assertion ` PX! = 0 ‘failed
- Failed to start docker.service : unit not found
- Failed to load unit ‘HGCM’ (VERR_INVALID_PARAMETER)
- [unity] when using unity hub, there is a problem of “failed to delete old unit installation file…” problem
- RT-thread assertion failed at function:rt_application_init
- Vivado Error: (vlog-7) Failed to open design unit file
- VirtualBox Failed to load unit ‘HGCM’ (VERR_INVALID_PARAMETER)
- Information contained in Debug Assertion Failed of Microsoft Visual C++ Runtime Library
- error: (-215:Assertion failed) !ssize.empty() in function ‘resize‘
- Spring configuration transaction, JUnit unit test error “failed to load ApplicationContext”
- OpenCV error: (-215:Assertion failed) !_src.empty() in function ‘cv::cvtColor‘
- Opencv problem: opencv error: assertion failed (! Empty()) in detectmultiscale
- (-215:Assertion failed) 0 <= contourIdx && contourIdx < (int)last in function ‘cv::drawContours‘
- Unit package manager error