BEE2.4 icon indicating copy to clipboard operation
BEE2.4 copied to clipboard

Maps fail to publish (Updated)

Open BigSmartBear opened this issue 2 years ago • 25 comments

BEE2 Application Version

4.41.0 64-bit

BEE2 Package Version

4.41.0

What operating system are you running on?

No response

Description of the bug

Whenever I attempt to publish a Portal 2 map using BEEMOD 2.4, it fails, giving me the error message, "Failed to publish file! Error Number 2". This only happens when using custom music, such as any in the Portal Stories Mel Soundtrack.

Expected behavior

I expected to successfully publish my BEEMOD 2.4 Portal 2 map to the Portal 2 workshop.

Steps to reproduce

  1. install BEEMOD 2.4, latest version, successfully
  2. add custom music, such as Halted Production by Harry Callaghan
  3. create a reasonably complex test chamber (I have seen the publishing work in really simple test chambers)
  4. attempt to publish to steam workshop

Logs and Reports

NET_GetBindAddresses found 192.168.254.78: 'Intel(R) Wi-Fi 6 AX200 160MHz'
Opened Steam Socket NS_SERVER ( socket 3436 )
Opened Steam Socket NS_CLIENT ( socket 3432 )
Network: IP 192.168.254.78, mode MP, dedicated No, ports 27015 SV / 27005 CL
Parent cvar in client.dll not allowed (movement_anim_playback_minrate)
Game supporting (2) split screen players
maxplayers set to 1
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-Bold.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-BoldOblique.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-Oblique.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationSans-Regular.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationSans-Bold.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationMono-Regular.ttf'
Bad Tall value for DefaultFixedDropShadow
Bad Tall value for DefaultFixedDropShadow
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-Bold.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-BoldOblique.ttf'
Failed to parse custom font file 'resource/linux_fonts/DejaVuSans-Oblique.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationSans-Regular.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationSans-Bold.ttf'
Failed to parse custom font file 'resource/linux_fonts/LiberationMono-Regular.ttf'
Steam config directory: D:\SteamLibrary\steamapps\common\Portal 2\portal2.exe\platform\config
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
Hud element 'CHUDVSScorePanel' doesn't have an entry 'VSScorePanel' in scripts/HudLayout.res
Hud element 'CHUDPaintAmmo' doesn't have an entry 'PaintAmmo' in scripts/HudLayout.res
Hud element 'CHudSubtitles' doesn't have an entry 'HudSubtitles' in scripts/HudLayout.res
Hud element 'CHudSaveStatus' doesn't have an entry 'HudSaveStatus' in scripts/HudLayout.res
--- Missing Vgui material vgui/hud/commands/change_this
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
--- Missing Vgui material vgui/hud/commands/gesture_sitspin_orange
--- Missing Vgui material vgui/hud/commands/gesture_Spinjump
--- Missing Vgui material vgui/hud/commands/gesture_headspin
--- Missing Vgui material vgui/hud/commands/gesture_pretzelwave
Hud element 'CHUDVSScorePanel' doesn't have an entry 'VSScorePanel' in scripts/HudLayout.res
Hud element 'CHUDPaintAmmo' doesn't have an entry 'PaintAmmo' in scripts/HudLayout.res
Hud element 'CHudSubtitles' doesn't have an entry 'HudSubtitles' in scripts/HudLayout.res
Hud element 'CHudSaveStatus' doesn't have an entry 'HudSaveStatus' in scripts/HudLayout.res
--- Missing Vgui material vgui/hud/commands/gesture_smallwave
resource/closecaption_STP_english.txt not found
resource/closecaption_english.txt will be used
Unknown command "cl_thirdperson"
Unknown command "joy_no_accel_scale"
Using joystick 'Xbox360 controller' configuration
Advanced joystick settings initialized for joystick 1
------------
joy1 x axis:  strafe (absolute)
joy1 y axis:  forward (absolute)
joy1 z axis:  unmapped
joy1 r axis:  pitch (absolute)
joy1 u axis:  yaw (absolute)
joy1 v axis:  unmapped
Advanced joystick settings initialized for joystick 2
------------
joy2 x axis:  strafe (absolute)
joy2 y axis:  forward (absolute)
joy2 z axis:  unmapped
joy2 r axis:  pitch (absolute)
joy2 u axis:  yaw (absolute)
joy2 v axis:  unmapped
resource/closecaption_STP_english.txt not found
resource/closecaption_english.txt will be used
Unknown command "cl_thirdperson"
C_GameInstructor::ReadSaveData failed to read GI.lesson.Swap_Split_Screen_Control
[PORTAL2 PUZZLEMAKER]  Loaded puzzle puzzles\76561198158438396\1646788090.p2c
Unknown command "cl_puzzlemaker_activate"
CGameUIConVarRef mp_gamemode doesn't point to an existing ConVar
maxplayers set to 1
---- Host_NewGame ----
Network: IP 192.168.254.78, mode SP, dedicated No, ports 0 SV / 0 CL
Opened Steam Socket NS_SERVER ( socket 3436 )
Opened Steam Socket NS_CLIENT ( socket 3440 )
Network: IP 192.168.254.78, mode MP, dedicated No, ports 27015 SV / 27005 CL
Mod_LoadMarksurfaces: Corrupt mark surfaces (total per-leaf count > lump size count) in maps/puzzlemaker/76561198158438396/1646788090.bsp
If you compiled your map with TeamSpen210's PostCompiler, please consider recompiling it with a newer version,
as there may be other random issues in your map introduced by this that are more subtle.
Couldn't get HDR 'maps\1646788090/c-2400_0_0.hdr' -- Trying non HDR 'maps\1646788090/c-2400_0_0'
Failed, using default cubemap 'engine/defaultcubemap'
Couldn't get HDR 'maps\1646788090/c-2000_2000_-48.hdr' -- Trying non HDR 'maps\1646788090/c-2000_2000_-48'
Failed, using default cubemap 'engine/defaultcubemap'
Couldn't get HDR 'maps\1646788090/c-2032_-1968_-31.hdr' -- Trying non HDR 'maps\1646788090/c-2032_-1968_-31'
Failed, using default cubemap 'engine/defaultcubemap'
Host_NewGame on map puzzlemaker\76561198158438396\1646788090
exec: couldn't exec skill1.cfg
==== calling mapspawn.nut
Unable to load sprite material materials/sprites/gunsmoke.vmt!
Unable to load sprite material materials/sprites/bubble.vmt!
Attempted to create unknown entity type playtest_manager!
Can't init playtest_manager
Couldn't find any entities named cd6-cube_addon_*, which point_template cd6-cube_template is specifying.
Couldn't find any entities named cd19-cube_addon_*, which point_template cd19-cube_template is specifying.
Couldn't find any entities named cd70-cube_addon_*, which point_template cd70-cube_template is specifying.
PrecacheScriptSound 'music.BEE2' failed, no such sound script entry
PrecacheScriptSound 'music.puzzlemaker\76561198158438396\1646788090_tbout' failed, no such sound script entry
Commentary: Could not find commentary data file 'maps/puzzlemaker\76561198158438396\1646788090_commentary.txt'. 
1.000:  Sending UDP connect to public IP 127.0.0.1:27015
Server using '<none>' lobbies, requiring pw no, lobby id 0
RememberIPAddressForLobby: lobby 0 from address loopback
Can't find factory for entity: wearable_item
NULL Ent in UTIL_PrecacheOther
[PORTAL2 PUZZLEMAKER]  --------START loading assets--------

[PORTAL2 PUZZLEMAKER]     *!* 3ds file doesn't exist models/puzzlemaker/selection_fr_compressed_smoke_field.3ds
[PORTAL2 PUZZLEMAKER]  Failed to load selection mesh: models/puzzlemaker/selection_fr_compressed_smoke_field.3ds
[PORTAL2 PUZZLEMAKER]  ---------END loading assets---------

==== calling mapspawn.nut
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
Parent cvar in client.dll not allowed (r_shadowlod)
***********************************
*         NO GAME SESSION         *
* some features might be disabled *
* (achievements, stats, UI, etc.) *
***********************************
Redownloading all lightmaps
[PORTAL2 PUZZLEMAKER]  Saved puzzle: puzzles\76561198158438396\1646788090.p2c
[PORTAL2 PUZZLEMAKER]  CVoxelTestChamber::Export VMF D:/SteamLibrary/steamapps/common/Portal 2/sdk_content\maps/1646788090.vmf ...
[PORTAL2 PUZZLEMAKER]  CVoxelTestChamber::Export VMF success, chamber size: (25,14,11)
[PORTAL2 PUZZLEMAKER]  Compilation time (after export): 76 (ms)
Connection to Steam servers successful.
   VAC secure mode is activated.
[PORTAL2 PUZZLEMAKER]  Compilation time (after VBSP): 4512 (ms)
[PORTAL2 PUZZLEMAKER]  Compilation time (after VVIS): 4606 (ms)
[PORTAL2 PUZZLEMAKER]  Compilation time (after VRAD): 18485 (ms)
[PORTAL2 PUZZLEMAKER]  Compilation time (complete): 18756 (ms) ...publishing map!
[PORTAL2 PUZZLEMAKER]  Saved puzzle: puzzles\76561198158438396\1646788090.p2c
[PORATL2 PUZZLEMAKER]	Writing file to cloud: D:/SteamLibrary/steamapps/common/Portal 2/sdk_content\maps/1646788090.bsp
[PORATL2 PUZZLEMAKER]	Writing file to cloud: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\untitled.jpg
[PORATL2 PUZZLEMAKER]	Tags for puzzle
                     	Singleplayer
                     	Companion Cube
                     	Companion Cube Dropper
                     	Tractor Beam Polarity
                     	Tractor Beam
                     	Cube Button
                     	Goo
                     	Weighted Cube
                     	Weighted Cube Dropper
                     	Fizzler
                     	Edgeless Safety Cube
                     	Edgeless Safety Cube Dropper
                     	Sphere Button
                     	Stairs
[PORATL2 PUZZLEMAKER]	Publishing: Querying Steam with FileID 0
[PORATL2 PUZZLEMAKER]	Publishing: Published file not found.  Publishing...
		BSP: mymaps\1646788090.bsp
		Thumbnail: mymaps\untitled.jpg
		AppID: 620
		Title: Hidden Concepts
		Description: Simple, yet difficult test chamber
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
An error occurred while attempting to download a file from the UGC server!
[PORTAL2 PUZZLEMAKER]  Saved puzzle: D:/SteamLibrary/steamapps/common/Portal 2/portal2/puzzles\76561198158438396\autosave.p2c

Additional information

I am using Clean style- but I have had the exact same issue when using other styles. In other words, it's not relevant

Also, as a possible related glitch, ever since I installed BEEMOD 2.4, the console command "noclip" only freezes me in the air, not letting me fly. The text that says that cheats are enabled is also white instead of orange now.

I am also aware that I posted a similar bug report. It was closed because I wasn't using the latest package release. I reinstalled BEEMOD 2.4, double checking it was the latest versions. I received the exact same error message when attempting to publish my map.

IMPORTANT: I am also able to successfully publish the map when no custom music is used. I highly suspect that the issue is the custom music. (and by custom music, I don't mean user-added music- I mean the music add by BEEMOD 2.4)

20220310174856_1 20220310174840_1 20220310174846_1 20220310174850_1 20220310174854_1

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

Oh- and I forgot to put: I use Windows 10 as an operating sytem

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

Restart portal 2 and export again then try to publish

Areng14 avatar Mar 10 '22 23:03 Areng14

It failed. This part of the log may have to do with it:

PrecacheScriptSound 'music.BEE2' failed, no such sound script entry PrecacheScriptSound 'music.puzzlemaker\76561198158438396\1646788090_tbout' failed, no such sound script entry

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

It does however work when using default peti music

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

20220310182257_1

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

For the noclip thing, make sure sv_noclipspeed is set to a value above 0 (5 is the default).

vrad-exe avatar Mar 10 '22 23:03 vrad-exe

I've seen people complain about this before, I'm not sure why it would happen, unless the autopacker is corrupting the BSP or something? But then it shouldn't be able to load in the engine either...

vrad-exe avatar Mar 10 '22 23:03 vrad-exe

First of all it'd probably be good to figure out what error code 2 actually is.

vrad-exe avatar Mar 10 '22 23:03 vrad-exe

Alright- if you need anything from me, just ask

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

also the sv_noclipspeed command fixed the noclip issue- thanks

BigSmartBear avatar Mar 10 '22 23:03 BigSmartBear

Seems like some sort of filesize error, but P2's workshop filesize limit should have been removed (and BEE custom music never exceeded that anyway). Do you have enough free space in your Steam cloud?

vrad-exe avatar Mar 11 '22 00:03 vrad-exe

How do I check that?

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

Wait I think I see- in Portal 2 general properties- steam cloud: 250.85 MB Stored / 773.15 MB Available

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

I also have terrible internet- if that makes a difference

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

The publishing usually takes far too long- up to 15 minutes before showing me the error

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

I also have Steam cloud disabled in the Portal 2 properties because I don't need it to transfer to my other computer and the Steam cloud slows down Portal 2 startup dramatically while using BEEMOD.

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

Hmm, 773mb should be more than enough space to upload a Puzzlemaker map. The Steam Cloud is needed to publish workshop maps, so I guess it's possible that disabling that breaks it? Does it work when you turn it back on?

vrad-exe avatar Mar 11 '22 00:03 vrad-exe

No, it didn't make a difference. Same error message

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

I wonder if Puzzlemaker still has the filesize limit for some reason? I'll ask Josh at some point

vrad-exe avatar Mar 11 '22 00:03 vrad-exe

Ok

BigSmartBear avatar Mar 11 '22 00:03 BigSmartBear

I remember I had this issue before. I got an error code: 2 so I just restarted and republished it and it worked

Areng14 avatar Mar 11 '22 09:03 Areng14

For me, it only works if it is an overly simple test chamber or I use default PeTI music, no music, or music that is already in the game such as TEST by Valve. Here are my settings and test chamber if it helps

76561198158438396.zip

https://user-images.githubusercontent.com/101303364/157979065-27d9f818-5c6d-47ab-ab83-37b2f21e0621.mp4

:

BigSmartBear avatar Mar 11 '22 22:03 BigSmartBear

I've noticed this hasn't been responded to in a while. Do you honestly think this issue will be fixed?

BigSmartBear avatar Mar 16 '22 22:03 BigSmartBear

Did you validate your portal 2 files?

Areng14 avatar Mar 17 '22 09:03 Areng14

That won't help.

vrad-exe avatar Mar 17 '22 19:03 vrad-exe