Select to view content in your preferred language

[SDK 2.2} Identify layer attributes with different SceneLayer

326
2
03-03-2026 10:21 AM
RémyGourrat
Occasional Contributor

Hi,

I have good results with Esri 3D buildings that returns attributes.

With my AGOL scenelayer of 3DObjects buildings no attributes returned !

With a SLPK of my scenelayer it's the same.

I attach my slpk to this post if someone can test to reproduce ?

Thanks

 

0 Kudos
2 Replies
AShahbaz
Esri Contributor

I was able to get attributes from the attached slpk using our unity sample. Are you not getting results for any building?
The only suggestion I have right now is to set the origin of the map to be close to the layer, if you haven't done so already. Due to the lack of double precision in Unity, the raycast can be imprecise when the buildings are too far from the scene origin.

image.png

0 Kudos
RémyGourrat
Occasional Contributor

Thanks a lot  @AShahbaz for your data validation !

i revised my code. It was a problem with conversion between an arcgis dictionnary and a json array with the type ArcGIS Date....

 

Rémy

0 Kudos