Skip to content

Commit d15b778

Browse files
EricBoiseLGSVLlokesku
authored andcommitted
Get baselink transform on build
(cherry picked from commit 1da7c8a) :Added changes: - update version 2021.2.2 - uptick bundle version for vehicles
1 parent 250c373 commit d15b778

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Assets/Scripts/Editor/Build.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private void PreparePrefabManifest(Entry prefabEntry, string outputFolder, List<
235235

236236
var info = vehiclePrefab.GetComponent<VehicleInfo>();
237237
var fmu = vehiclePrefab.GetComponent<VehicleFMU>();
238-
var baseLink = vehiclePrefab.GetComponent<BaseLink>();
238+
var baseLink = vehiclePrefab.GetComponentInChildren<BaseLink>();
239239

240240
if (info == null)
241241
{

Assets/Scripts/Utilities/BundleConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public enum BundleTypes
2525

2626
public static Dictionary<BundleTypes, string> Versions = new Dictionary<BundleTypes, string>()
2727
{
28-
[BundleTypes.Vehicle] = "com.svlsimulator.5",
28+
[BundleTypes.Vehicle] = "com.svlsimulator.6",
2929
[BundleTypes.Environment] = "com.svlsimulator.4",
3030
[BundleTypes.Sensor] = "com.svlsimulator.5",
3131
[BundleTypes.Controllable]= "com.svlsimulator.2",

ProjectSettings/ProjectSettings.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ PlayerSettings:
127127
16:10: 1
128128
16:9: 1
129129
Others: 1
130-
bundleVersion: 2021.2.1
130+
bundleVersion: 2021.2.2
131131
preloadedAssets:
132132
- {fileID: 11400000, guid: 4270dd94ce32ff9408cfe51e6cd1c831, type: 2}
133133
metroInputSource: 0

0 commit comments

Comments
 (0)