KSP-RO / ProceduralParts

A continuation of StretchySRBs, which is a continuation of StretchyTanks
71 stars 79 forks source link

Fillet cylinder causes game to crash #187

Closed DanielKinsman closed 5 years ago

DanielKinsman commented 8 years ago

I'm using procedural parts to create spherical tanks (3m * 3m, fillet 3m) as in the screenshot. When I click to attach, the game crashes. If I use normal cylinders instead of fillets it does not happen.

Image bug

Stock KSP 1.0.5 with procedural parts v1.1.11 as the only mod installed (via CKAN). Log file.

OtherBarry commented 8 years ago

Are you on the most recent version of KSP? There was a silent update that came out not long after 1.05 was released.

On Mon, Dec 28, 2015 at 10:23 AM, Daniel Kinsman notifications@github.com wrote:

I'm using procedural parts to create spherical tanks (3m * 3m, fillet 3m) as in the screenshot When I click to attach, the game crashes If I use normal cylinders instead of fillets it does not happen

[image: Image bug] https://camo.githubusercontent.com/2615224be3b8e1e0e09ee54086c9bf4a7116b032/687474703a2f2f69696d677572636f6d2f694c3672646e726a7067

Stock KSP 105 with procedural parts v1111 as the only mod installed (via CKAN) Log file https://wwwzerobinnet/?15033174c6b90925#xPrRiXHgJw4CrWL7DQPSJ406S+w3AaaEJyW5mmbJm7s=

— Reply to this email directly or view it on GitHub https://github.com/Swamp-Ig/ProceduralParts/issues/187.

DanielKinsman commented 8 years ago

Yes I am on build 1028.

diego-treitos commented 8 years ago

Hello, I am having this very same problem too.

I've made several tests and I've found that the only requirements for this to happen are:

1. It has to be a fillet tank
2. It has to be spherical
3. It has to have something attached (I tried with an engine)
4. It has to be in symetry mode (I tried with x4 simetry)

This creates this trace:

[ERR 17:31:28.773] Invalid parameter because it was infinity or nan.

[ERR 17:31:28.810] Invalid parameter because it was infinity or nan.

[ERR 17:31:28.846] Invalid parameter because it was infinity or nan.

[EXC 17:31:28.882] ArgumentNullException: Argument cannot be null.
Parameter name: key
        System.Collections.Generic.Dictionary`2[Part,RUI.Algorithms.Vertex`1[Part]].get_Item (.Part key)
        RUI.Algorithms.ComponentListMaker.UpdatePartVertex (Boolean residual, .Part part, System.Collections.Generic.Dictionary`2 lookup)
        RUI.Algorithms.ComponentListMaker.GetStackFlowGraph (.ShipConstruct ship)
        EngineersReport.RunTests ()
        EngineersReport+^N^N.MoveNext ()
[ERR 17:31:28.891] d0>=0.0f

[ERR 17:31:28.891] d1>=0.0f

[ERR 17:31:28.891] d0>=0.0f

[ERR 17:31:28.891] d1>=0.0f

[ERR 17:31:28.891] d0>=0.0f

[ERR 17:31:28.891] d1>=0.0f

[ERR 17:31:28.891] d0>=0.0f

[ERR 17:31:28.891] d1>=0.0f

         [...]