Skip to content

Commit

Permalink
Get baselink transform on build
Browse files Browse the repository at this point in the history
(cherry picked from commit 1da7c8a)
:Added changes:
- update version 2021.2.2
- uptick bundle version for vehicles
  • Loading branch information
EricBoiseLGSVL authored and lokesku committed Aug 10, 2021
1 parent 250c373 commit d15b778
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/Editor/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ private void PreparePrefabManifest(Entry prefabEntry, string outputFolder, List<

var info = vehiclePrefab.GetComponent<VehicleInfo>();
var fmu = vehiclePrefab.GetComponent<VehicleFMU>();
var baseLink = vehiclePrefab.GetComponent<BaseLink>();
var baseLink = vehiclePrefab.GetComponentInChildren<BaseLink>();

if (info == null)
{
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/Utilities/BundleConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum BundleTypes

public static Dictionary<BundleTypes, string> Versions = new Dictionary<BundleTypes, string>()
{
[BundleTypes.Vehicle] = "com.svlsimulator.5",
[BundleTypes.Vehicle] = "com.svlsimulator.6",
[BundleTypes.Environment] = "com.svlsimulator.4",
[BundleTypes.Sensor] = "com.svlsimulator.5",
[BundleTypes.Controllable]= "com.svlsimulator.2",
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 2021.2.1
bundleVersion: 2021.2.2
preloadedAssets:
- {fileID: 11400000, guid: 4270dd94ce32ff9408cfe51e6cd1c831, type: 2}
metroInputSource: 0
Expand Down

0 comments on commit d15b778

Please sign in to comment.