How to Prevent Unity From Deleting a Script When Uploading It to Vrchat

VRWorld Toolkit

GitHub stars GitHub all releases GitHub release (latest SemVer) Project License GitHub repo size

VRWorld Toolkit is a Unity Editor extension made to brand VRChat world creation more accessible and lower the entry-level to make a adept performing world. Currently, the tool is aimed only at people making VRChat worlds, and almost functions only work with the VRCSDK imported, merely this might change in the future.

To study issues, you can either join my Discord server or create a new upshot.

Setup

Requirements

  • Unity 2019.4.29f1
  • Latest VRChat SDK SDK2 / SDK3 Worlds or Avatars

Getting Started

  • Import the latest release from here into your Unity projection
  • After, if everything went well, you will see the VRWorld Toolkit dropdown announced at the top bar if not cheque Troubleshooting

Troubleshooting

First, make sure you are running the latest SDK (SDK2 / SDK3 Worlds or Avatars) if not update. This project is kept up to appointment, supporting the latest SDK versions. Back up for older versions is not guaranteed.

Start past opening the Unity Console either by using Ctrl + Shift + C or from Window > Full general > Console. Afterward, make certain scarlet errors are enabled from the pinnacle right corner of the window. Finally, press Articulate in the top left corner, which will narrow the view downwards to only compilation stopping errors.

If the errors that are left mention Postal service Processing or Baker when the project * does non* have these in it currently, run across the post-obit paragraphs.

The nearly common outcome is when the project previously had Post Processing or Bakery but has since been removed. This will go out behind a Scripting Define Symbol that the assets automatically add, making VRWorld Toolkit think they still exist in the project.

This can be manually removed from Edit > Project Settings > Role player > Other Settings > Scripting Define Symbols

  • For Bakery: BAKERY_INCLUDED
  • For Post Processing: UNITY_POST_PROCESSING_STACK_V2

These symbols' principal role is to load parts of code simply when they are set in the project. However, they practice not automatically become removed with the asset.

A more rare outcome is as well caused by having a Bloom.cs script or just Bloom class in the global namespace in your project conflicting with Mail Processing. This tin can usually be seen in the console by having repeated errors for Postal service Processing blossom not being able to exist accessed from VRWorld Toolkit scripts. The easiest solution is finding and removing the offending script oft found just by searching for Bloom in your assets.

Main features

Earth Debugger

Goes through the scene and checks for common problems, and makes suggestions on what to improve. Includes over 90 different tips, warnings, errors, and full general messages!

It also allows viewing the stats of the latest builds SDK has done for an easily accessible overview of what the build consists of. It too saves the latest Windows and Android builds separately for easy comparing betwixt the two.

Disable On Build

Later on the setup is run from VRWorld Toolkit > Disable On Build > Setup a new tag is added DisableOnBuild that automatically disables all GameObjects marked with it before a build happens. The most significant utilize case for this is easier to manage trigger-based occlusion.

Postal service Processing

Offers a one-click solution to having a working Post Processing setup with a simple example profile for farther editing.

Quick Functions

Copy World ID

Helps y'all to quickly copy the current scenes world ID to clipboard without having to fumble finding the Scene Descriptor.

Mass Texture Importer

Batch processes textures to apace utilize crunch compression and other settings to all textures in the electric current scene or all assets in the project.

Custom Editors

Adds more features to the pre-existing VRChat components to make them easier to use and provide quality of life improvements. If not needed, they can also be easily disabled from VRWorld Toolkit > Custom Editor > Disable.

Includes additions to:

  • VRC Mirror Reflection
    • Quick set layers to commonly used setups
    • Warnings and letters for common problems people run into with mirrors
    • Explanations for VRChat specific layers
  • VRC Avatar Pedestal
    • Adds a feature to mass copy and set IDs to pedestals while having multiple selected
    • Draws outlines to where the pedestal image volition appear in-game when you select the GameObject with the pedestal component on it

Useful Links

Quick access to commonly used links related to VRChat content cosmos.

Special Cheers to

  • Pumkin - For helping me a lot to get started and creating the original Disable On Upload feature that got me started on this project
  • Silent - For making my texts more clear and for help on Post Processing features
  • Metamaniac (Tabular array) - Checked through my texts and found all the stupid typos I made

Disclaimer: This extension is nevertheless a piece of work in progress. Even though I try to test it thoroughly, things can break. Recollect to make backups of your projects and utilize this at your own risk!

mantoncaunces.blogspot.com

Source: https://github.com/oneVR/VRWorldToolkit

0 Response to "How to Prevent Unity From Deleting a Script When Uploading It to Vrchat"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel