Variables reset after packaging [DEMO PROJECT INCLUDED]

Slavq
Fri, 19 Jun 2015 23:43:52 +0000
Editor Scripting

Name of player character resets (to default value specified in parent class) after packaging. Very simple demo project [HERE][1]

1. Play in Editor or Standalone Game = “Bob”, correct name.

2. Package project (tested with shipping 32 bit build), launch packaged game and now text says “(Unnamed)”, which is default value specified in “Unit” class.

3: bug is gone when you delete “skill” variable from “Unit” class or delete GetPlayerCharacter->get name->print name logic from “Skill” class.

Please fix it

16 posts - 1 participant