x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Fatal error: ObjectProperty is not being constructed with either NewObject, NewNamedObject or ConstructObject.

I've been trying to learn automation tests lately, but whenever I call the constructor of a class that I wrote, the editor crashes. These are the critical errors:

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: === Critical error: ===

[2018.05.12-12.38.57:524][ 0]LogWindows: Error:

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: Fatal error: [File:D:\Build++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2499]

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: ObjectProperty is not being constructed with either NewObject, NewNamedObject or ConstructObject.

[2018.05.12-12.38.57:524][ 0]LogWindows: Error:

[2018.05.12-12.38.57:524][ 0]LogWindows: Error:

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000FD91A06D KERNELBASE.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000DBAA7884 UE4Editor-ApplicationCore.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D4E16D9B UE4Editor-Core.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D4D51949 UE4Editor-Core.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D74E21E4 UE4Editor-CoreUObject.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000CA078CEE UE4Editor-Engine.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000B9C519F0 UE4Editor-TacticsGame.dll!AGrid::AGrid() [d:\workspaceunreal\tacticsgame\source\tacticsgame\grid.cpp:6]

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000B9C55C6C UE4Editor-TacticsGame.dll!FConstructionTest::RunTest() [d:\workspaceunreal\tacticsgame\source\tacticsgame\test\gridtest.cpp:9]

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D4D6836A UE4Editor-Core.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D4D77496 UE4Editor-Core.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x00000000D4D744F5 UE4Editor-Core.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x000000003FAFFA27 UE4Editor.exe!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x000000003FAF69FA UE4Editor.exe!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x000000003FAF6C4A UE4Editor.exe!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x000000003FB04177 UE4Editor.exe!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x000000003FB05B87 UE4Editor.exe!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x0000000077A159CD kernel32.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x0000000077B4A561 ntdll.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error: [Callstack] 0x0000000077B4A561 ntdll.dll!UnknownFunction []

[2018.05.12-12.38.57:524][ 0]LogWindows: Error:

[2018.05.12-12.38.57:537][ 0]LogExit: Executing StaticShutdownAfterError

[2018.05.12-12.38.57:696][ 0]LogWindows: FPlatformMisc::RequestExit(1)

[2018.05.12-12.38.57:770][ 0]Log file closed, 05/13/18 00:38:57

Grid.cpp https://pastebin.com/QwuHXeGC

Grid.h https://pastebin.com/TDEka45A

GridTest.cpp https://pastebin.com/3Z11a55L

Product Version: UE 4.19
Tags:
more ▼

asked May 12 '18 at 01:09 PM in C++ Programming

avatar image

Stormbreath
1 1 2

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question