Cannot find file for package 'myLevel'

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Enarc23

New Member
Dec 29, 2009
3
0
0
Hello!

Usually it's no problem to replace a missing package, but what if the package is that elusive myLevel one that has no file to copy and paste to replace it?

My level was coming along quite nicely, and recently upon loading I get;

UT2004 Build UT2004_Build_[2005-11-23_16.22]

OS: Windows NT 6.1 (Build: 7600)
CPU: GenuineIntel PentiumPro-class processor @ 1596 MHz with 4095MB RAM
Video: NVIDIA GeForce GTS 250M (8723)

Failed to enter C:\UT2004\Maps\!BreannesHaven5.ut2: Can't find file for package 'myLevel'

History: UGameEngine::Init <- InitEngine <- FMallocWindows::Free


I get no editor errors or UnrealEd saying "Hey, you're missing this package' when I load the level. Everything loads dandy until I try firing it up in the game itself. Is there any third party program that can help me further narrow down what *exactly* is missing and it's complaining about? Because it could be anything when it comes to myLevel except for sounds.

I have tried a fresh install then loading the newest patch with the megapack and the U1ToUT2k4 mod which is needed to run the level.

Startup goes as follows;

Log: Log file open, 12/29/09 13:03:49
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 6.1 (Build: 7600)
Init: Version: 3369 (128.29)
Init: Compiled: Nov 23 2005 16:23:34
Init: Command line: Autoplay.ut2?NumBots=0 HWND=722974 -log
Init: Character set: Unicode
Init: Base directory: C:\UT2004\System\
Init: Ini:UT2004.ini UserIni:User.ini
Init: Build label: UT2004 Build UT2004_Build_[2005-11-23_16.22]
Init: Object subsystem initialized
Log: nvd3dum.dll/NVIDIA GeForce GTS 250M
Log: Game class is 'GameInfo'
Log: Bringing Level Entry.myLevel up for play (0) appSeconds: 1.616000...
ScriptLog: GameInfo::InitGame : bEnableStatLogging False
Log: Browse: Autoplay.ut2?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?NumBots=0
Warning: Failed to load 'myLevel': Can't find file for package 'myLevel'
Warning: Failed to load 'BreannesHavenMeshes': Can't find file for package 'myLevel'
Warning: Failed to load 'Autoplay.ut2': Can't find file for package 'myLevel'
Warning: Failed to load 'Level None.MyLevel': Can't find file for package 'myLevel'
>
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Exclamation mark in the map file name? I don't think that's a good idea.
Package names should really only contain letters a-z, digits 0-9, underscore _ and minus - characters. Square brackets [] are also ok, they are even used in official maps. Some custom map names also contain round () or curly {} brackets, but any other characters, including letters with accents or umlauts, should really be avoided.

Also, look around in your package folders. Make sure there is no package file with the name "MyLevel" in any of them. (Package file names are case-insensitive.)
 

Enarc23

New Member
Dec 29, 2009
3
0
0
I've Looked

I changed the ! to an A, to no difference made. It was simply for organizational purposes but I can understand if there are issues from it. It was a recent change done today.

I have not found anything to do with myLevel. Probably since its more of a caching thing for your level than an actual file, but something is wrong as it looks like it cannot read at all from it.
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Hmm, it also says "Warning: Failed to load 'BreannesHavenMeshes': Can't find file for package 'myLevel'" That one would suggest an external package your map depends on also depends on your map. I'm not sure if the editor lets you create something like this, but you definitely have a problem now as this is a circular dependency.

A nice external tool for package analysis is UTPT. Try loading BreannesHavenMeshes there and check the import tree for a "myLevel" package. Load that package in UnrealEd separately and see what happens. I guess you moved a resource from your map to that package without moving other resources the resource depends on, e.g. materials for a mesh or for another material.
 

Enarc23

New Member
Dec 29, 2009
3
0
0
Aha, got it. You were right as I didn't include some dependancies. Woops!

Thanks a ton :D