mattymatty97 / LTC_MattyFixes

A collection of Fixes for the vanilla game, with focus on vanilla compatibility.
GNU General Public License v3.0
2 stars 0 forks source link

[Issue] Error log when game start; Out of Bound malfunction when just grab and drop some scraps #28

Open CoolLKKPS opened 4 days ago

CoolLKKPS commented 4 days ago

Describe the bug

  1. NullReferenceException
  2. Out of Bound malfunction when just grab and drop some scraps (no even need to start the game)

To Reproduce Playing with levelloader Modpack: https://1drv.ms/f/c/c26722dc35962b5c/ElwrljXcImcggMKLCgAAAAABXdwXiAVT3j3zNnyNZw3uXg

Expected behavior N/A

Screenshots N/A

Versions (please complete the following information):

Logs [Error : Unity Log] NullReferenceException Stack trace: MattyFixes.Patches.GrabbableStartPatch+<>c.b3_1 (UnityEngine.Animator a) (at ./src/Patches/GrabbableStartPatch.cs:60) System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) (at :IL_002C) MattyFixes.Patches.GrabbableStartPatch+<>cDisplayClass3_0.b__0 () (at ./src/Patches/GrabbableStartPatch.cs:59) UnityEngine.WaitUntil.get_keepWaiting () (at :IL_0001) UnityEngine.CustomYieldInstruction.MoveNext () (at :IL_0001) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)

Additional context None

CoolLKKPS commented 3 days ago

[18:28:23.5996253] [Info : Unity Log] Parsed word: bud [18:28:23.5996253] [Info : Unity Log] noun keyword: budapest ; verb keyword: route ; result null? : False [18:28:23.5996253] [Info : Unity Log] result: budapestRoute [18:28:23.9484226] [Info : Unity Log] Changing level server rpc 24 [18:28:23.9787996] [Info : Unity Log] level id: 24 [18:28:23.9787996] [Info : Unity Log] Changing level [18:28:25.2291212] [Info : Unity Log] Stop special animation on TerminalScript, by Player (UnityEngine.Transform); Player (GameNetcodeStuff.PlayerControllerB) [18:28:25.2301568] [Info : Unity Log] Calling stop animation function StopUsing server rpc for player: 0 [18:28:25.2311669] [Info : Unity Log] Stop special animation F [18:28:25.2311669] [Info : Unity Log] Stop special animation G [18:28:25.2321783] [Info : Unity Log] Quit terminal; inTerminalMenu true?: {playerScript.inTerminalMenu} [18:28:30.9393525] [Info : Unity Log] Level id: 24 [18:28:33.5094374] [Info : Unity Log] Lever animation: setting bool to True [18:28:33.5166233] [Info : Unity Log] Sent lever animation RPC on this client [18:28:35.1898608] [Info : Unity Log] Stop special animation on StartGameLever, by Player (UnityEngine.Transform); Player (GameNetcodeStuff.PlayerControllerB) [18:28:35.1898608] [Info : Unity Log] Stop special animation F [18:28:35.2285119] [Info : Unity Log] Loading scene [18:28:35.2295248] [Info : Unity Log] Scene that began loading: BudapestScene [18:28:35.2295248] [Info : Unity Log] LOADING GAME!!!!! [18:28:35.2305345] [Info : Unity Log] Waiting for all players to load! [18:28:35.2883034] [Info : Unity Log] Stop special animation G [18:28:37.0087865] [Warning: Unity Log] Renderer 'Regroup14' is registered with more than one LODGroup ('rus_build_9et_01_low (1)' and 'Regroup14'). [18:28:37.0087865] [Warning: Unity Log] Renderer 'Regroup14' is registered with more than one LODGroup ('rus_build_9et_01_low (1)' and 'Regroup14').

[18:28:37.1188744] [Error : Unity Log] ArgumentNullException: Value cannot be null. Parameter name: key Stack trace: System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) (at <787acc3c9a4c471ba7d971300105af24>:IL_0008) System.Collections.Generic.Dictionary2[TKey,TValue].ContainsKey (TKey key) (at <787acc3c9a4c471ba7d971300105af24>:IL_0000) Loadstone.Patches.DungenOptimizationPatches.TileTagPrecalcPatch (DunGen.DungeonGenerator __instance) (at <749f3374f3e54f158b440e65407874c6>:IL_0007) (wrapper dynamic-method) DunGen.DungeonGenerator.DMDDunGen.DungeonGenerator::Generate(DunGen.DungeonGenerator) DunGen.RuntimeDungeon.Generate () (at :IL_002C) DunGen.RuntimeDungeon.Start () (at :IL_0008)

due moonpack conflict with loadstone

[18:28:37.1188744] [Error : Unity Log] Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported since Unity 5. If you want to use a non-convex mesh either make the Rigidbody kinematic or remove the Rigidbody component. Scene hierarchy path "Environment/Budapest/Minden/chainlink fence segment crushed type 2 (3)", Mesh asset path "" Mesh name "Combined Mesh (root: scene) 30"

moonpack issue

[18:28:37.1208900] [Warning: Unity Log] BoxColliders does not support negative scale or size. The effective box size has been forced positive and is likely to give unexpected collision geometry. If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "Environment/Budapest/Minden/Sample Assembly 1/Concrete Floor/Concrete Block Broken 3 Static/Box002" [18:28:38.0066003] [Warning:LethalLevelLoaderAOORE_Fix] Disabling LethalLib Dungeon.RoundManager_GenerateNewFloor() Function To Prevent Conflicts [18:28:39.1834907] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2230269] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2260541] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2280724] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2305849] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2331012] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.2351014] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.3429480] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4275917] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4306317] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4326551] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4351769] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4378237] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4398531] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4413680] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4433881] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.4459167] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:39.9572651] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:40.2782147] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:40.3815388] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:40.4104005] [Error : Unity Log] RuntimeNavMeshBuilder: Source mesh UpperBody is skipped because it does not allow read access [18:28:40.4781056] [Info : Unity Log] Dungeon finished generating in one frame. [18:28:40.6159428] [Info : Unity Log] Players finished generating the new floor [18:28:40.9345182] [Info : Unity Log] Spawning synced props on server. Length: 106 [18:28:41.1006131] [Error :LethalLevelLoaderAOORE_Fix] Removed: 62 SpawnableItemWithRarities From CurrentLevel: Budapest Due To Invalid Properties To Prevent Errors. [18:28:41.1040588] [Info : Unity Log] Number of scrap to spawn: 30. minTotalScrapValue: 300. Total value of items: 0. [18:28:41.3620124] [Warning:me.loaforc.soundapi] AudioSource (on gameobject: paddle.prop(Clone)) became null between the OnSceneLoaded callback and Start. [18:28:41.4685583] [Warning:me.loaforc.soundapi] AudioSource (on gameobject: paddle.prop(Clone)) became null between the OnSceneLoaded callback and Start. [18:28:41.4685583] [Warning:me.loaforc.soundapi] AudioSource (on gameobject: trombone.prop(Clone)) became null between the OnSceneLoaded callback and Start. [18:28:41.4685583] [Warning:me.loaforc.soundapi] AudioSource (on gameobject: perfect_score.prop(Clone)) became null between the OnSceneLoaded callback and Start. [18:28:41.5426068] [Info :ainavt.lc.yippee] Replaced source to diagetic mixer. [18:28:41.5471745] [Info :ainavt.lc.yippee] Replaced source to diagetic mixer. [18:28:41.5471745] [Info :ainavt.lc.yippee] Replaced source to diagetic mixer. [18:28:41.5471745] [Info :ainavt.lc.yippee] Replaced source to diagetic mixer. [18:28:41.5644012] [Warning: Unity Log] BoxColliders does not support negative scale or size. The effective box size has been forced positive and is likely to give unexpected collision geometry. If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "EnginePart(Clone)/ScanNode" [18:28:41.5644012] [Warning: Unity Log] BoxColliders does not support negative scale or size. The effective box size has been forced positive and is likely to give unexpected collision geometry. If you absolutely need to use negative scaling you can use the convex MeshCollider. Scene hierarchy path "EnginePart(Clone)" [18:28:41.8675269] [Info : Unity Log] Turning lights on at start

[18:28:42.9213998] [Error : Unity Log] NullReferenceException Stack trace: MattyFixes.Patches.GrabbableStartPatch+<>c.b3_1 (UnityEngine.Animator a) (at ./src/Patches/GrabbableStartPatch.cs:60) System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) (at :IL_002C) MattyFixes.Patches.GrabbableStartPatch+<>cDisplayClass3_0.b__0 () (at ./src/Patches/GrabbableStartPatch.cs:59) UnityEngine.WaitUntil.get_keepWaiting () (at :IL_0001) UnityEngine.CustomYieldInstruction.MoveNext () (at :IL_0001) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :IL_0026)

[18:28:43.6974163] [Warning:WeatherTweaks BaseGameWeatherPatches] StormyWeather.Enable: 126.25 125 [18:28:43.9596360] [Warning: Unity Log] WeatherRegistry.Weather must be instantiated using the ScriptableObject.CreateInstance method instead of new Weather. [18:28:43.9672498] [Warning:WeatherTweaks] Landing at Budapest with weather {"Name":"Stormy","Type":0,"Weather":{"Name":"Stormy","VanillaWeatherType":2,"Type":1}} [18:28:43.9847918] [Warning: Unity Log] Sub-emitters may not use stop actions. The Stop action will not be executed. [18:28:44.0107305] [Info : Unity Log] startofround: 24; 0 [18:28:44.0168135] [Warning: Unity Log] Sub-emitters may not use stop actions. The Stop action will not be executed.

@mattymatty97 a mention