Build project failed
I am experimenting troubles when trying to package my game (with Blueprints). It failed saying it can't cast an object to Actor. (see the attached log Error).
It is a ChildActorComponent, which I "cast" to actor via "Get Child Actor", and then cast the result as its class. I do this in the Construction Script (see image).
I never tried to package the game before, but I am doing this kind of thing for some month now in other classes, and I never experiment any trouble running the game within the Editor.
Does someone know how to fix things up ?
Thanks in advance,
asked Jan 25 '17 at 10:31 AM in Packaging & Deployment
You can't cast ChildActorComponent to Actor. It would fail.
UObjectBase > UObjectBaseUtility > UObject > AActor
UObjectBase > UObjectBaseUtility > UObject > UActorComponent > USceneComponent > UChildActorComponent
answered Jan 25 '17 at 10:51 AM
Just for you to know, I can package my game using the UE 4.15 Preview version.
I just can't manage to select which map I want, but this is another problem ...
answered Jan 27 '17 at 08:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here