TWeakObjectPtr doesn't work in 4.17 as before
Some code have worked without any issues in 4.16 version.
First part doesn't work in 4.17 version
With next notice
There is no any problem with the second variable "DamageCauser".
I compared "WeakObjectPtrTemplates.h" in old and new version. It's the same. Please help with correct declaration. "ABaseCharacter" inherited from "ACharacter".
asked Aug 19 '17 at 06:03 PM in C++ Programming
I think the problem is that the compiler has not seen the definition of ABaseCharacter. You can tell by removing the 'class' (which is a habit best avoided anyway):
... and then you should get an error more like 'unknown identifier: ABaseCharacter'. So you need to explicitly include the header containing ABaseCharacter at the top of this header:
This probably used to compile due to a different ordering of #includes.
Hope this helps,
answered Aug 22 '17 at 03:10 PM
Steve Robb STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here