Skip to content

Addressable Injector's Target Field disappears for majority of components #1

Description

@viliger2

Sometimes after using Addressable Injector it breaks, so that "Target Field" disappears completely. In the console the following appears

GameObject (LOP.AddressableInjector)'s targetMemberInfoName is null, empty or white space
UnityEngine.Debug:LogWarning (object)
LOP.LOPLog:Warning (object) (at Library/PackageCache/jace-locationsofprecipitation@e2b7876c40/Runtime/LOPLog.cs:67)
LOP.AddressableInjector:Refresh () (at Library/PackageCache/jace-locationsofprecipitation@e2b7876c40/Runtime/AddressableInjector.cs:60)
LOP.Editor.AddressablesAssetEditor:OnInspectorGUI () (at Library/PackageCache/jace-locationsofprecipitation@e2b7876c40/Editor/AddressableInjectorInspector.cs:67)
UnityEngine.GUIUtility:ProcessEvent (int,intptr)

It happens with both "custom" (as in written by the user) and RoR2's components, happens for specific field for each component. For example, for SceneDirector component it fails with teleporterInstance field, but works for teleporterSpawnCard field. Adding more injectors doesn't fix the issue, all injectors that target teleporterInstance will fail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions