Closed sirkut closed 9 years ago
I was just made aware of it, and am scrambling to fix it.
Problem has been correctly identified, and new, working code implemented. Will be released in less than two hours.
Wonderful, as always Biotronic, thanks for your help with the matter!
Something now blows up with the latest version when using Infernal Robotics. Nothing has changed on my end so something happened. I would also like to add that it works in version 1.43 but any version newer than that it fails. When resizing i get this error:
119290 [TweakScale] Setting mass from 0.1 to 0.05 119291 (Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49) 119292 ArgumentException: Object type System.Double cannot be converted to target type: System.Single 119293 Parameter name: val 119294 at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x00000] in:0
119295 at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000] in :0
119296 at TweakScale.MemberUpdater.Set (System.Object value) [0x00000] in :0
119297 at TweakScale.ScaleExponents.Rescale (TweakScale.MemberUpdater current, TweakScale.MemberUpdater baseValue, System.String name, ScalingMode scalingMode, ScalingFactor factor) [0x00000] in :0
119298 at TweakScale.ScaleExponents.UpdateFields (System.Object obj, System.Object baseObj, ScalingFactor factor, .Part part) [0x00000] in :0
119299 at TweakScale.ScaleExponents.UpdateObject (.Part part, .Part prefabObj, System.Collections.Generic.Dictionary`2 exponents, ScalingFactor factor) [0x00000] in :0
119300 at TweakScale.TSGenericUpdater.OnRescale (ScalingFactor factor) [0x00000] in :0
119301 at TweakScale.TweakScale.OnTweakScaleChanged () [0x00000] in :0
119302 at TweakScale.TweakScale.Update () [0x00000] in :0
119303 (Filename: Line: -1)
[/code]Something now blows up with the latest version when using Infernal Robotics. Nothing has changed on my end so something happened. When resizing i get this error: