This repository was archived by the owner on Oct 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this package will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.5.3] - 13-06-2024
9+
10+ ### Fixed
11+ - Instantiated gltf scenes now recursively acquire the layer of the Content gameObject.
12+
813## [ 1.5.2] - 07-06-2024
914
1015### Fixed
Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ private async void GotGltfContent(ParsedGltf parsedGltf)
137137 {
138138 await gltf . InstantiateSceneAsync ( transform , i ) ;
139139 scene = transform . GetChild ( i ) . transform ;
140+ foreach ( var child in scene . GetComponentsInChildren < Transform > ( true ) ) //getting the Transform components ensures the layer of each recursive child is set
141+ {
142+ child . gameObject . layer = gameObject . layer ;
143+ }
144+
140145 if ( scene == null ) continue ;
141146
142147 // MovingOriginFollower sceneOriginFollower = scene.gameObject.AddComponent<MovingOriginFollower>();
Original file line number Diff line number Diff line change 11{
22 "name" : " eu.netherlands3d.tiles3d" ,
33 "displayName" : " Netherlands 3D - 3DTiles" ,
4- "version" : " 1.5.2 " ,
4+ "version" : " 1.5.3 " ,
55 "unity" : " 2022.2" ,
66 "type" : " library" ,
77 "keywords" : [
You can’t perform that action at this time.
0 commit comments