Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000696

My project will not open anymore with this error.link text

Steps to reproduce:

  1. create a blueprint FPS template project
  2. add a C++ actor component class and compile in VS
  3. define a struct in C++ class and recompile in editor
  4. close editor and re-open .uproject will be corrupted and fails to open:
    ‘Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff’

Actually it appears that recompiling in editor is not the cause. Simply defining a struct in my header file causes the crash when loading the .uproject file:

  1. create blueprint FPS template project
  2. add a C++ actor component class
  3. close the editor, add USTRUCT to class header and compile in VS
  4. opening the .uproject file with the editor will now crash and fails to open: link text

I think the cause is I also create a struct uasset in my project with the name “MyData” and the C++ struct named “FMyData”. Better error message would be helpful here.