I’m trying to fix vfxgraph not working with input system
and each time I modify the c# it gets returned to original state.
all i want is to nuke this #if
I’m trying to fix vfxgraph not working with input system
and each time I modify the c# it gets returned to original state.
That package is immutable. Your choices are:
Emb (eject) that package to your local Packages folder and modify it.
add ENABLE_LEGACY_INPUT_MANAGER to the “Scripting Define Symbols” of Player settings.
search text “Platform custom #defines”
thanks Favo,
How do you do #1?
I did #2 and it crashed the editor a few times, I think there are some deep dependencies in some of the packages, QA is aware, fixes coming in URP 8.32
Use API UnityEditor.PackageManager.Client.Embed(packageName);
Or use this helper package, notice that the package will be renamed recently. It adds a menu item “Assets/Embed Package” against your current package selection.
Or DIY. remove the direct dependency from your manifest.json (if have), move the package folder from Library/PackageCache/PKG_NAME to Packages/PKG_NAME