Closed killer89 closed 1 year ago
Can you upload the textures/assets that you are trying to pack?
On Oct 21, 2019, at 9:31 AM, killer89 notifications@github.com wrote:
Started to get this engine error yesterday. For some reason the custom content is not packed into the map file after compiling and custom content packing is done, but the map file however seemingly breaks up, and in-game crashes with "map has no textures" - engine error message.
I was using 0.26.4 when the issue started to appear, and downgraded all the way to 0.26.2, with no luck.
The map compiles and runs normally, if the custom content is not packed into the map file with CompilePal. I tested custom content packaging with pakrat, and it didn't have issues with packing, and the map launched normally in-game.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I did some research, and discovered the reason for the crashing:
Before the crashing started to occur, i had been packing the custom content into the map, and the file size had been around 124mb, which is fine. However yesterday i added a motorcycle model to the map (material files alone are 193mb), and some time later the custom content packaging stopped working and the crash occurred. When i excluded the motorcycle's files from the packaging, the custom content was once again packed normally into the map file, and it didn't crash in-game.
Apparently there is some sort of limit of how big the bsp can be.
Did compile pal throw any errors when it tried to pack the motorcycle?
On Oct 21, 2019, at 1:05 PM, killer89 notifications@github.com wrote:
I did some research, and discovered the reason for the crashing:
Before the crashing started to occur, i had been packing the custom content into the map, and the file size had been around 124mb, which is fine. However yesterday i added a motorcycle model to the map (material files alone are 193mb), and some time later the custom content packaging stopped working and the crash occurred. When i excluded the motorcycle's files from the packaging, the custom content was once again packed normally into the map file, and it didn't crash in-game.
Apparently there is some sort of limit of how big the bsp can be.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
No, it seemingly went alright, however the map's filesize hadn't changed and in-game the map just crashed with that "map has no textures" - engine error.
It wasn't exactly easy thing to track, since that error is not very common. Finding out the cause was pure luck.
edit
I configured CompilePal to ignore the motorcycle's files (both materials and model) with -exludedir, however CompilePal simply closes, when it's about to start packing the custom content. (Map works, but the custom content is not packed into it.)
The map does load normally even with the bike on the map, if i don't pack any of the custom content, though.
Crashlogs folder is empty, so unfortunately there is nothing to send to you.
CompilePal 026.5.zip Try this and send the debug.log and any crash logs if they appear
CompilePal crashed again on 0.26.5, when it was about to pack the custom content, excluding the motorcycle with -excludedir.
It's almost like compilepal would ignore the -excludedir command.
Can you upload the motorcycle model?
On Oct 22, 2019, at 7:35 AM, killer89 notifications@github.com wrote:
CompilePal crashed again on 0.26.5, when it was about to pack the custom content, excluding the motorcycle.
debug.log
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
https://drive.google.com/file/d/1fKXeAf59TGnu5yamA1F6KiQ5NclIszid/view?usp=sharing
It messes up the custom content packing, and breaks the compiled bsp. Also CompilePal seems to ignore the -excludedir command, which i used on both the motorcycle's material and model directories.
CompilePal 026.6.zip Try this out
It seems to be working now.
Cheers. :)
The crashing fixes in 0.26.6 weren't carried over to 0.27?
I just tried the new version, and the issue is present in it.
Are you sure you installed correctly? I just tried it and it worked fine. Can you upload your crash/debug logs?
I extracted the files to a new folder, copied over only the game settings, and compiled / packed content on two maps several times, and it seems to work now.
Apparently 0.26.6 > 0.27 "upgrade installation" didn't work out.
The issue has started to pop up again. I have tried 0.27.5 and 0.27.6 versions with fresh install. Motorcycle model i sent earlier is again the troublemaker. It haven't been modified.
Is the issue with excluding directories or in-game crashes?
Latter.
Hmm, I just tested it in TF2 and it seems to be working fine. Can you send me the bsp after packing?
Did you try to pack the motorcycle model into it?
Trying to pack it into the map file causes a crash in-game with the same "Map has no textures" - engine error that occurred last year.
I did some more research, and excluded the motorcycle's textures from packing, and the custom assets were then normally packed and the map loaded normally.
It's starting to look like the fixes ("Fixed multiple issues with packing textures in models with multiple bodyparts") you made in 0.27 are somehow broken.
Closing stale issues, please try the latest prerelease and if the issue is still happening feel free to reopen
Started to get this engine error yesterday. For some reason the custom content is not packed into the map file after compiling and custom content packing is done, but the map file however seemingly breaks up, and in-game crashes with "map has no textures" - engine error message.
I was using 0.26.4 when the issue started to appear, and downgraded all the way to 0.26.2, with no luck. The game in question was Half-Life 2: Episode Two.
The map compiles and runs normally, if the custom content is not packed into the map file with CompilePal. (Map compiling itself works in CompilePal.)
I tested custom content packaging with pakrat, and it didn't have issues with packing, and the map launched normally in-game.
debug.log