Download

reporting an unreal editor crash with this 1 line python code

CODE: unreal.FloatProperty()

Version: 4.21.2-4753647+++UE4+Release-4.21

ERROR Message:

Fatal error: [File:D:\Build++UE4\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2294]
Object FloatProperty None created in Package instead of Field

0x00007fff7d229149 KERNELBASE.dll!UnknownFunction ]
0x00007ffef354cd1a UE4Editor-Core.dll!UnknownFunction ]
0x00007ffef332a967 UE4Editor-Core.dll!UnknownFunction ]
0x00007ffef3260df7 UE4Editor-Core.dll!UnknownFunction ]
0x00007ffef2da8fd1 UE4Editor-CoreUObject.dll!UnknownFunction ]
0x00007ffef2da5f45 UE4Editor-CoreUObject.dll!UnknownFunction ]
0x00007ffef2da959c UE4Editor-CoreUObject.dll!UnknownFunction ]
0x00007ffed9f76b3d UE4Editor-PythonScriptPlugin.dll!UnknownFunction ]
0x0000000066548266 python27.dll!UnknownFunction ]
0x00000000664e4dd3 python27.dll!UnknownFunction ]
0x0000000066591fbb python27.dll!UnknownFunction ]
0x0000000066591a55 python27.dll!UnknownFunction ]
0x000000006658eeab python27.dll!UnknownFunction ]
0x0000000066590421 python27.dll!UnknownFunction ]
0x000000006658b459 python27.dll!UnknownFunction ]
0x00007ffed9f0fd25 UE4Editor-PythonScriptPlugin.dll!UnknownFunction ]
0x00007ffed9f43ef5 UE4Editor-PythonScriptPlugin.dll!UnknownFunction ]
0x00007ffed9f1cf93 UE4Editor-PythonScriptPlugin.dll!UnknownFunction ]
0x00007ffed9f0fe6f UE4Editor-PythonScriptPlugin.dll!UnknownFunction ]
0x00007ffed710333b UE4Editor-OutputLog.dll!UnknownFunction ]
0x00007ffed70f3301 UE4Editor-OutputLog.dll!UnknownFunction ]
0x00007fff1a5702a7 UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a51ba61 UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a51d23b UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a56cdcd UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a28694c UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a30697c UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff1a2f9a36 UE4Editor-Slate.dll!UnknownFunction ]
0x00007fff6519daa4 UE4Editor-ApplicationCore.dll!UnknownFunction ]
0x00007fff65190de0 UE4Editor-ApplicationCore.dll!UnknownFunction ]
0x00007fff651a01eb UE4Editor-ApplicationCore.dll!UnknownFunction ]
0x00007fff6518ca19 UE4Editor-ApplicationCore.dll!UnknownFunction ]
0x00007fff7ff2ca66 USER32.dll!UnknownFunction ]
0x00007fff7ff2c582 USER32.dll!UnknownFunction ]
0x00007fff651a1746 UE4Editor-ApplicationCore.dll!UnknownFunction ]
0x00007ff6231a5546 UE4Editor.exe!UnknownFunction ]
0x00007ff6231b596c UE4Editor.exe!UnknownFunction ]
0x00007ff6231b59ea UE4Editor.exe!UnknownFunction ]
0x00007ff6231c48da UE4Editor.exe!UnknownFunction ]
0x00007ff6231c659a UE4Editor.exe!UnknownFunction ]
0x00007fff7e0981f4 KERNEL32.DLL!UnknownFunction ]
0x00007fff802ca251 ntdll.dll!UnknownFunction ]

This was already fixed for 4.22, as we now validate the outer in the Python layer and throw there if it is incorrect.


LogPython: Error: Traceback (most recent call last):
LogPython: Error:   File "<string>", line 1, in <module>
LogPython: Error: TypeError: FloatProperty: Outer '/Engine/Transient' was of type 'Package' but must be of type 'Field'

As an aside, FloatProperty itself is also no longer exposed to Python. It was one of the types that were accidentally being exposed due to the ExecuteUbergraph function, which we now ignore due to it being marked as BlueprintInternalUseOnly.