Berserk-Games / Tabletop-Simulator-Modding

Tabletop Simulator Unity project which is for our advanced modders that want to have complete control over their custom objects with additional features.
https://kb.tabletopsimulator.com/custom-content/custom-assetbundle/
83 stars 32 forks source link

Update for newest/newer (2020) unity version. #5

Open peterbehere opened 3 years ago

peterbehere commented 3 years ago

I use bridges from Daz3D and the Reallusion pipeline (iclone 7 and character creator 3). It would be most beneficial to use a 2020 version of Unity to create asset bundles for TTS.

CDAGaming commented 2 years ago

Made a fork for this, works fine on my end.

Brandon621 commented 2 years ago

What version of unity 2020 is it

peterbehere commented 2 years ago

Following the documentation for unity install (https://kb.tabletopsimulator.com/custom-content/custom-assetbundle/#install-unity) it claims to only work on Unity 2019.1.14f1.

peterbehere commented 2 years ago

As expected, when attempting to open project in unity version 2020.3.19f1, I get a prompt stating the version mismatch. Project was saved using editor version 2019.1.0f2.

peterbehere commented 2 years ago

Continuing to open project in 2020.3.19f1 (which is a long term support editor version). Console indicates wrong version as well as this warning:

Assets\Editor\TTSCheckVersionNumber.cs(40,17): warning CS0618: 'UnityWebRequest.isNetworkError' is obsolete: 'UnityWebRequest.isNetworkError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) instead

Full Log File Attached Editor.log

CDAGaming commented 2 years ago

@peterbehere Both issues were fixed in my fork. The webrequest is an easy fix from a year old deprecation.

peterbehere commented 2 years ago

@CDAGaming thanks for the quick response. Where can I grab the code from your fork... a bit new to github.

peterbehere commented 2 years ago

nevermind... I figured it out ;)

peterbehere commented 2 years ago

testing this with asset bundling