Hello thanks for your time,
Edit: found a solution, look at the bottom. Maybe its worth a bug report?
I want to Cook my game but it fails, I’m happy for any help. The Cook for Windows operation fails with error message below. I looked into it and maybe I found whats the problem, but I dont know how to resolve it. For me it looks like an issue with a false resolved redirector.
I have a Child Actor Component with “Child Actor Class”=“ColorSaliencySegment” if choosen, “Child Actor Template”=“SimpleTunnelSegment-1”. The error during Cook operation indicates for me, that this class can’t be resolved, which makes sense, because there is no “SimpleTunnelSegment-1” anymore.
SimpleTunnelSegment was the old name of it, there is no redirector visible for me. The redirector was there a few weeks ago, but ue4 resolved it.I didn’t move the file outside of unreal engine.
Line before:
PackagingResults: Warning: FMemberReference::ResolveMember (StartFlashingByReferences_DEPRECATED) bSelfContext == true, but no scope supplied!
Line with error
UATHelper: Cooking (Windows): LogPackageName: Error: Illegal call to DoesPackageExist: ‘/Game/Levels/TunnelColorSaliency.TunnelColorSaliency:PersistentLevel.Tunnel Segment Template_GEN_VARIABLE_SimpleTunnelSegment_C_CAT_46282.TunnelSegmentMesh’ is not a standard unreal filename or a long path name. Reason: Path should be no less than 4 characters long.
- I deleted Saved, Intermediate, rebuild all, checked for Map errors found nothing
- TunnelColorSaliency is “Game Default Map” and the only one used in the game.
- There was also a TunnelColorSaliency Actor, but not placed and I deleted it to be sure thats not this actor
- “Tunnel Segment Template” is a Child Actor Component with “SimpleTunnelSegment” as class
- “SimpleTunnelSegment” has a Static Mesh called: “TunnelSegmentMesh”
Line after
PackagingResults: Error: Illegal call to DoesPackageExist: ‘/Game/Levels/TunnelColorSaliency.TunnelColorSaliency:PersistentLevel.Tunnel Segment Template_GEN_VARIABLE_SimpleTunnelSegment_C_CAT_46282.TunnelSegmentMesh’ is not a standard unreal filename or a long path name. Reason: Path should be no less than 4 characters long.
The log itself is to big, so I can’t attach it here, but I can attach the Warning/Error Summary:
link text
Found a solution, because I found the blueprint “B1” which has a child actor component of “B2” which looks false for me, I copied “B2” so I have “B2 Copy” and changed every usage of “B2” to “B2 Copy” cooking worked after this.