Lakehopper

Lakehopper

BETA(May 16th.): Exception when assembling small tank's relief valve
I tried the beta and and started a new save.
All went finr during assembly, but when reached the tank-assembly, Unity throws an exception whenever I connect one of the smaller (left/right) relief-valves.

This caused the game to freeze and stutter, until I disconnected the relief-valve.

The exception from the log:

KeyNotFoundException: The given key '11772' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <7d4ffb5156ed453e84ebc2c1e1b54f52>:0
at GK.ConvexHullCalculator.FindHorizon (System.Collections.Generic.List`1[T] points, UnityEngine.Vector3 point, System.Int32 fi, GK.ConvexHullCalculator+Face face) [0x00149] in <5e48533c4fa442b3a141998bd95fe7ed>:0
at GK.ConvexHullCalculator.GrowHull (System.Collections.Generic.List`1[T] points) [0x00093] in <5e48533c4fa442b3a141998bd95fe7ed>:0
at GK.ConvexHullCalculator.GenerateHull (System.Collections.Generic.List`1[T] points, System.Boolean splitVerts, System.Collections.Generic.List`1[UnityEngine.Vector3]& verts, System.Collections.Generic.List`1[System.Int32]& tris, System.Collections.Generic.List`1[UnityEngine.Vector3]& normals) [0x00025] in <5e48533c4fa442b3a141998bd95fe7ed>:0
at SubassemblyHullCalculator.CalculateHull (SubassemblyManager subassemblyManager) [0x000c0] in <4aa599e206e945bfa066c815d36d10a9>:0
at Mechanical.SAMColliders.UpdateConvexHull () [0x0002a] in <4aa599e206e945bfa066c815d36d10a9>:0
at SubassemblyManager.LateUpdate () [0x00025] in <4aa599e206e945bfa066c815d36d10a9>:0
< >
Showing 1-3 of 3 comments
On it! Thanks for the report and the info from the error log!
I just pushed 0.3.4 to the Beta branch which should fix this issue. I wasn't able to perfectly replicate it, but now if an error like it happens again, it won't lag the game.
I tried the same save, used the same part to assemble and didn't have the freezes anymore.
I was able to complete the build and all went fine.

The only exception is, that the plane does not fly anymore.
Not sure what you did, but the water shakes the plane like in the middle of an ocean at About 40+ kts, so before take-off.

I don't have such extreme issues when flying XPLANE's water-planes. Except in a storm with super-high waves.
There seems to be something very off, imo.
With the current build it seems to be impossible to "glide"over the water. before lifting off.

However, the initial issue seems to be fixed, thanks for the quick fix.

EDIT:
For whatever reason, the pitch-axis...and only the pitch-axis was set to only use about 40 percent of it's authority. The null-point was shifted out of the middle.
I corrected this and was able to fly. But..again, the waves are too strong for such an environment. I don't see any visual indications, that there is a storm ongoing.

Also, the fake-rudder does not do anything. I can steer with yaw, but takes ages and feels like steering with plane's rudder and no dedicated (fake)water-rudder, which would be much more aggressive.
So diff. power was the only working way to steer this plane on water.
< >
Showing 1-3 of 3 comments
Per page: 1530 50