After four hours I tracked the problem of entity picks causing EAV errors and crashing my app, this is a pickfilter:
Function PickF%(entity:TEntity)
If GetEntityType(entity) = 0
Return 0
Else
Return 1
End If
End Function
It works for both 2.31 and 2.32, but I use a custom pickfilter to add an extra layer of selection for certain picks like this:
Function PickF%(entity:TEntity)
If GetEntityType(entity) = 0
Local EType:String = GetEntityKey(entity.parent,"name")
If Etype = "whatever"
Return 0
Else
Return 1
EndIf
Else
Return 1
End If
End Function
This works 100% in 2.31 and does what it was intended to do brilliantly, but is the cause of the EAV's with 2.32 and my currently elevated annoyance status.
If I change:
GetEntityKey(entity.parent,"name")
to:
GetEntityKey(entity,"name")
There is no error but then the name of the object itself is not retuned but the mesh name such as U3D_MESH which is the name for about 99.9% of all my models. adding .parent got the name of the entity like oildrum_1 or Box_01 or Blobby_2 which is what is needed. so has something changed?