ruarai / CompilePal

A tool to assist in the compiling of source engine maps
GNU General Public License v3.0
220 stars 25 forks source link

System.ArgumentOutOfRangeException during Packing step of compiling #159

Closed ITstumbler closed 1 year ago

ITstumbler commented 2 years ago

CompilePal - Automated Packaging Finding sources of game content... Found search paths... Found wildcard path: D:\Steam\SteamApps\common\Team Fortress 2\tf\custom\ Found search path: D:\Steam\SteamApps\common\Team Fortress 2\tf Found search path: D:\Steam\SteamApps\common\Team Fortress 2\tf Found search path: D:\Steam\SteamApps\common\Team Fortress 2\tf\bin Found search path: D:\Steam\SteamApps\common\Team Fortress 2\tf\download Reading BSP... Initializing pak file... Something broke: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List1.get_Item(Int32 index) at CompilePalX.Compilers.UtilityProcess.ParticleUtils.ReadParticle(String filePath) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\Utility\ParticleUtils.cs:line 284 at CompilePalX.Compilers.BSPPack.PakFile.AddParticle(String internalPath) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\BSPPack\PakFile.cs:line 334 at CompilePalX.Compilers.BSPPack.PakFile..ctor(BSP bsp, List1 sourceDirectories, List1 includeFiles, List1 excludedFiles, List1 excludedDirs, List1 excludedVpkFiles, String outputFile) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\BSPPack\PakFile.cs:line 109 at CompilePalX.Compilers.BSPPack.BSPPack.Run(CompileContext context) in D:\a\CompilePal\CompilePal\CompilePalX\Compilers\BSPPack\Pack.cs:line 246 An error cancelled the compile. Compile forcefully ended.

Seems to not have happened before the Scream Fortress update.

ITstumbler commented 2 years ago

CompilePal 27.16 was used

Exactol commented 2 years ago

Are you using any custom particles?

On Oct 7, 2021, at 5:17 AM, ITstumbler @.***> wrote:  CompilePal 27.16 was used

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

ITstumbler commented 2 years ago

Yes

Exactol commented 2 years ago

Can you send the custom particles that you are using? You can send it over discord or something if you don’t want to upload them publicly

On Oct 7, 2021, at 4:12 PM, ITstumbler @.***> wrote:

 Yes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Exactol commented 1 year ago

Closing stale issues, please try the latest prerelease and if the issue is still happening feel free to reopen