when i use " cast to " function, the class BP can’t compile with no error, still dirty.
When i try to play with ignore problem, the function is execute normally.
after appearing this problem, it have a chance to crash engine (sometimes, i don’t know reason)
The class BP can compile after i delete " cast to " function.
I reproduce the with error with following step on UE4.7.6:
1. Create new Blank Project with startcontent
2. Create following class blueprint:
AAA_BP: Actor.h, BBB_BP: AAA_BP, CCC1_BP: BBB_BP, CCC2_BP: BBB_BP
3. In default level blueprint, create AAA_BP array and set editable, add the codes:
4 In CCC1_BP, define a string variable which default value is its class name and set editable.
5 In CCC2_BP, define a string variable which default value is its class name and set editable.
6 In AAA_BP, add the codes:
7 Compiling AAA_BP, and It can’t compile, still dirty(because the “cast to” func). The result of running in select viewport with ignore unknown error (the most components in scene is deleted.):
Is that bug? or which part i do wrong?
I posted the post a few days ago: [Engine crash when i copy paste blueprint(on UE 4.7.6) - Blueprint - Unreal Engine Forums][5]
I am not sure it maybe ralated to the post.