Search Issue Tracker

Fixed in 4.5

Votes

0

Found in

4.3.0f4

Issue ID

575637

Regression

No

Calling Undo.RecordObject(null,"") causes Editor to crash

Editor - Other

-

1. Open any project
2. Create EditorUndo.cs file:

using UnityEngine;
using UnityEditor;
using System.Collections;

public class EditorUndo : MonoBehaviour {

[MenuItem("Repro?/Repro.")]
public static void Repro()
{
Undo.RecordObject(null, "");
}

}

3. After it loads up, execute menu command "Repro?/Repro."
4. Editor will crash

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.