Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
194 stars 9 forks source link

Canvas appearing double on "extendable" logix nodes #1158

Open 3x1t-5tyl3 opened 4 years ago

3x1t-5tyl3 commented 4 years ago

Steps:

Result: image

ukilop commented 4 years ago

i should note, its not just canvas being doubled, its creating a 2nd logix component that's then creating an extra canvas Edit: this is also the first repeatable case of this bug that ive seen, ive had this happen with other nodes too, specifically nodes that can be expanded aka have the +/- buttons

Frooxius commented 4 years ago

That looks like an exception was possibly thrown mid-connect. Do you have a log from this case?

shiftyscales commented 4 years ago

I wasn't able to replicate this issue from your instructions. Additional details, and logs from when it has occurred would be useful, @3x1t-5tyl3 @ukilop.

shiftyscales commented 4 years ago

@ukilop provided a log, @Frooxius. It appears it may potentially be related to use of a tooltip multiplexer can be done both with a multiplexer Logix tip, and a regular Logix tip.

6:48:19 AM.663 ( 29 FPS)    Exception Updating ActiveToolTip: Element: IDEE74100, Type: FrooxEngine.TooltipMultiplexer, World: ukilops card world, IsRemoved: False, IsDestroyed: False, IsDisposed: False, Enabled: True
Element: IDEE73600, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: <color=orange>3x1t_5tyl3</color>'s MultiTool v1.3, T: [-0.01426442; 0.0001096014; 0.2511631], R: [-0.001342497; 0.959935; 0.1335608; 0.2463423], S: [0.5086263; 0.508607; 0.5086249], ActiveSelf: True, IsDestroyed: False
Element: IDDF19D00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Tooltip Holder, T: [0.1063368; -0.0653184; 0.2184327], R: [-0.001342397; 0.9599351; 0.1335609; -0.246342], S: [1.000006; 1.000006; 1.000006], ActiveSelf: True, IsDestroyed: False
Element: IDDEF4B00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Tooltip Root, T: [0; 0; 0], R: [0; 0; 0; 1], S: [1; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE850C00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Tooltip Anchor, T: [0.005200356; 0.09050625; 0.03131482], R: [0.02502194; 0.7278472; 0.6842212; 0.03812785], S: [0.5280437; 0.5280438; 0.5280442], ActiveSelf: True, IsDestroyed: False
Element: IDE82E900, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: RightWrist, T: [2.952569E-07; 0.1268577; 2.760188E-08], R: [-0.1530876; -0.3314134; -0.1024241; 0.9253317], S: [1; 0.9999999; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE82D400, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: RightElbow, T: [-1.564499E-07; 0.165667; -3.61766E-07], R: [-0.3218224; 0.3133166; -0.03560368; -0.892746], S: [1; 0.9999999; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE82BF00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: RightArm, T: [2.64585E-07; 0.03190288; -2.005503E-09], R: [0.559109; 0.1191826; -0.2009686; 0.79549], S: [0.9999999; 0.9999999; 0.9999999], ActiveSelf: True, IsDestroyed: False
Element: IDE82B400, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: RightShoulder, T: [0.04868056; 0.06722073; 0.004772058], R: [-0.4168916; -0.3754303; -0.5910603; 0.5795698], S: [1; 0.9999999; 0.9999999], ActiveSelf: True, IsDestroyed: False
Element: IDE624100, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Chest, T: [1.558887E-15; 0.0433014; 2.219547E-09], R: [0.2150923; -0.05060464; 0.03329128; 0.9747134], S: [1; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE623600, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Spine, T: [-3.722397E-15; 0.05006681; -6.16191E-09], R: [-0.02737248; -0.0001084704; -0.004776116; 0.9996139], S: [1; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE622100, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Hips, T: [-0.00796724; 0.3542724; 0.1410113], R: [0.04312533; 0.005214219; 0.001756102; 0.9990545], S: [1; 0.9999999; 0.9999999], ActiveSelf: True, IsDestroyed: False
Element: IDE621600, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Armature, T: [0; 0; 0], R: [0; 0; 0; 1], S: [100; 100; 100], ActiveSelf: True, IsDestroyed: False
Element: IDE620B00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: RootNode, T: [-1.605327E-05; 5.929522; -95.73222], R: [0; -1.845656E-15; 0; 1], S: [5.400001; 5.400001; 5.400001], ActiveSelf: True, IsDestroyed: False
Element: IDE61F600, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: CenteredRoot, T: [-102.4691; -3.616231E-06; -399.4171], R: [5.462676E-06; 0.08861966; -7.81117E-09; 0.9960656], S: [1; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: IDE5F2C00, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Swaria, T: [0; 0; 0], R: [0; 0; 0; 1], S: [0.004484698; 0.004484698; 0.004484698], ActiveSelf: True, IsDestroyed: False
Element: IDDE86600, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: User ukilop (ID2B00), T: [0.866777; -4.552506; -10.26048], R: [1.177143E-07; -0.3666045; 1.073942E-07; -0.9303769], S: [0.9999993; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: ID593200, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: U-ukilop, T: [0.3257378; 0.6774924; 2.857005], R: [1.599062E-07; 0.2676099; 1.351475E-07; 0.9635274], S: [0.9999995; 0.9999998; 1.000001], ActiveSelf: True, IsDestroyed: False
Element: ID384200, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: UUM - Users, T: [2.480902; 3.40992; -0.5078039], R: [-9.738916E-08; 0.6146697; -7.06327E-08; 0.7887846], S: [1; 0.9999998; 1], ActiveSelf: True, IsDestroyed: False
Element: ID2000, Type: FrooxEngine.Slot, World: ukilops card world, IsRemoved: False, Slot name: Root, T: [0; 0; 0], R: [0; 0; 0; 1], S: [1; 1; 1], ActiveSelf: True, IsDestroyed: False
Element: ID0, Type: FrooxEngine.World, World: ukilops card world, IsRemoved: False
.

System.NullReferenceException: Object reference not set to an instance of an object
  at FrooxEngine.LogiX.Input`1[T].Dispose () [0x00006] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.SyncElementList`1[T].InternalRemove (System.Int32 index, System.Boolean sync, System.Boolean change) [0x00185] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.SyncElementList`1[T].RemoveAt (System.Int32 index) [0x00000] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.SyncElementList`1[T].EnsureExactCount (System.Int32 count) [0x0001b] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.Utility.IndexOfFirstMatch`1[T].OnSwapping (FrooxEngine.LogiX.LogixNode oldNode) [0x00020] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.LogixHelper.SwapInternal (FrooxEngine.LogiX.LogixNode node, FrooxEngine.LogiX.LogixNode swap, System.Collections.Generic.List`1[T] overrides, FrooxEngine.LogiX.LogixHelper+SwapInfo info, System.Boolean allowMismatch) [0x0000d] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.LogixHelper.Swap (FrooxEngine.LogiX.LogixNode node, FrooxEngine.LogiX.LogixNode swap, System.Collections.Generic.List`1[T] overrides, System.Boolean allowMismatch) [0x00006] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.LogixNode.TryConnectInput[I] (FrooxEngine.LogiX.Input`1[T] input, FrooxEngine.IWorldElement output, System.Boolean overload) [0x0010e] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.Input`1[T].TryConnectTo (FrooxEngine.IWorldElement element, System.Boolean overload) [0x0000a] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.LogiX.LogixTip.OnPrimaryRelease () [0x001ff] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.TooltipMultiplexer.OnPrimaryRelease () [0x0001a] in <cbe0771b252448cdb1ed787104201fee>:0 
  at FrooxEngine.CommonTool.RunTooltipRelease () [0x00015] in <cbe0771b252448cdb1ed787104201fee>:0 
shiftyscales commented 4 years ago

I've just discovered that to replicate this issue, another user needs to be present in the session. It doesn't matter if it's the host or a client that replicates it, but it can't be replicated in a solo world, @Frooxius.