A guide to updating vars and plugins

Guides A guide to updating vars and plugins

hazmhox

Moderator
Featured Contributor
Messages
926
Reactions
5,874
Points
123
hazmhox submitted a new resource:

A guide to updating vars and plugins - ... but also how to get rid of that annoying invalid assetbundle error

⚠ PLEASE:
  • If you like this resource, consider liking and reviewing it for the community
  • Take your time to read. I will not answer private messages asking questions about things that are actually explained in the tutorial.

View attachment 186407

Intro

VaM helps you to easily download and use content from the hub. But it hardly helps you to understand how to update your scenes properly when you are a creator.
This...

Read more about this resource...
 
I'm not sure if it works. But inside var there's meta.json with two lines:
"standardReferenceVersionOption" : "Latest",
"scriptReferenceVersionOption" : "Exact",
Maybe changing into both to Latest and in dependencies changing ie. "MacGruber.Life.10" to "MacGruber.Life.latest" will work? Also don't know if you can control those two in var package builder.
 
Yup! You can control them in the package builder.

But I wanted to avoid explaining to people to hack into var files. If by any mistake, you redownload the same version of Life, your changes are lost. The update process should be controlled at the scene level without trying to hack into the resources themselves.

Also, it indeed relies deeply on how good the initial resource is. Meshed did the latest/exact version system to avoid legacy issues. But as a plugin creator, if you think about your creators/players, you would put it to latest for both (standard and script) and handle the legacy compatibility in the code.
 
The invalid assetbundle issue is particularly annoying when making a scene and you need to replace the local assetbundle with the var version you created.
 
The invalid assetbundle issue is particularly annoying when making a scene and you need to replace the local assetbundle with the var version you created.

Yup! I'm simply doing the var upfront now. It is really a pain when you're working on independent scene that are not going to be packed with the asset itself :/
 
Yeah, I just have to remember to not bother using the local version to test in scenes I might want to release, finish asset, pack it, then test/build.
 
thank! But is the newest always the best or the most proper? Sorry,I want to ask another question,how to avoid the error log appearing all the time,enen if it has some wrong ,for example ordinarily :the loss of paid var file .
 
Absolutely brilliant! I will yank out (OUT, not off) all the older versions in my addons folder right now! Nube question; what is a "Hard Reset"?
 
Absolutely brilliant! I will yank out (OUT, not off) all the older versions in my addons folder right now! Nube question; what is a "Hard Reset"?
^^
If you open the main menu, File (open/save), you'll see on the right a big red button "Hard Reset".
 
I moved 172 items to a temporary folder, VAM starts almost a minute faster. Yay! So I guess that any scene, etc that complains will be because it is looking for a specific version. I have np problem with hacking var files. (Been a computer geek since days of punch cards and build-your-own micro boards.) OH GOD I'm F'n OLD!
<edit> Holy shit. Searching for missing referenced 153 items.. OUCH. Wish that script would output a list pointing at the needy ones. :cry: A hacking I will go... maybe an AutoIt script? hmmmm
o_O
 
Last edited:
So I guess that any scene, etc that complains will be because it is looking for a specific version.

Technically no. Well it depends... if the plugins/var you have moved are properly made ( if you prefer: if they handle "legacy" content ), you should have zero warning and it will work.

If the .var is not made to handle legacy content, then you're gonna simply have errors. Either script errors or assets errors.
In this case, you can only blame the original creator :p
 
I understand that. Other than missing NON existent resources. I am currently loading scene after scene Alphabetically and SO FAR have had no problems, but I am still in the numeric part of sort.
Still will have to deal with scenes causing "missing resource" to show up in online search. I will find them eventually. At least I am FINALLY looking at all the cool stuff I have downloaded. Oh look - a shiny object!
File Menu, Never noticed that before. :eek: Thanks.
 
Back
Top Bottom