Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 413396_3a4ur89cclh41nqg


    (Closed) The documentation (and auto-complete) tell me that a
     
     
     
    1) What happened
    The documentation (and auto-complete) tell me that a function AssetDatabase.CreateFolder exists.  When I try to use said function in an editor script, the code does not compile and gives an error:

    Error CS0117: 'UnityEditor.AssetDatabase' does not contain a definition for 'CreateFolder' (CS0117)

    This is really weird since I am able to use AssetDatabase.CreateAsset in the same script file without any problem.

    2) How can we reproduce it using the example you attached
    Using Unity 3.3, create a C# editor script that tries to call AssetDatabase.CreateFolder(string, string).  See if you can get it to compile.
    I've included the file I was working on with the function call currently on line 41.
     
       
      To follow up on this case, send email to bugs@unity3d.com mentioning 'Case 413396' in the subject.
      Your Cases:
      Case Title Status Date Opened
      1372368 The Unity Editor cannot link with my Unity Hub login Closed 10/11/2021 11:29 PM
      1324694 Editor regularly has memory access crash at startup or on script reload Closed 3/26/2021 3:49 PM
      730524 UNET doesn't process client join requests properly when Time.timeScale set to 0 Closed 9/25/2015 5:49 PM
      661290 When I export as an Android project, the app will hang on Open 1/6/2015 9:09 PM
      620133 It crashed when I tried to make an iOS build Open 7/16/2014 11:49 PM
      588816 Player crashes when I try to stop playing after I made some Closed 1/31/2014 11:49 PM
      576389 Unity crashes and closes when I switch focus to it while its Open 11/18/2013 11:24 PM
      415378 The editor crashed when I tried to revert a value to the Closed 8/16/2011 6:13 PM
      415000 Our game crashes while running some Unity code for skinned Closed 8/12/2011 11:00 PM
      413803 When using a synchronized MonoDevelop project, the Closed 8/2/2011 4:50 PM
      413396 The documentation (and auto-complete) tell me that a Closed 7/29/2011 8:13 PM
      412940 I tried to open the asset store. I'm using Unity Pro 3.3 Closed 7/26/2011 8:54 PM
      412460 It crashed while I was debugging. I did save a change to a Open 7/21/2011 4:33 PM
      411241 I updated an FBX file and its associated meta data via SVN Closed 7/11/2011 8:13 PM
      411012 I updated some assets via SVN Closed 7/9/2011 12:22 AM
      409396 Changed a script to use [System.Serializable] on a class. Closed 6/23/2011 5:27 PM
      409338 The program crash right after I pressed the play button Closed 6/22/2011 11:21 PM