# Cook failed, "not a standard unreal filename" because of old redirector?

**URL:** <https://forums.unrealengine.com/t/cook-failed-not-a-standard-unreal-filename-because-of-old-redirector/447995>\
**Category:** Platform & Builds\
**Tags:** Cooking, child-actor-componen, redirector, unreal-engine, question, Cooking-Failed\
**Created:** [April 28, 2019, 10:31am UTC](https://forums.unrealengine.com/t/cook-failed-not-a-standard-unreal-filename-because-of-old-redirector/447995 "2019-04-28T10:31:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![terzut](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@terzut](https://forums.unrealengine.com/u/terzut)\
**Post date:** [April 28, 2019, 10:31am UTC](https://forums.unrealengine.com/t/cook-failed-not-a-standard-unreal-filename-because-of-old-redirector/447995/1 "2019-04-28T10:31:04Z")

</div>

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.
