Skip to content

Broken on 2022.1.2p3-1192 #2

@Bluscream

Description

@Bluscream

I tried recompiling for 1192 but that just throws a lot of Unhollower Exceptions;

[19:03:30.874] [ERROR] Exception in Harmony patch of method bool VRCAvatarManager::Method_Private_Boolean_GameObject_String_Single_ApiAvatar_0(UnityEngine.GameObject param_1, string param_2, float param_3, VRC.Core.ApiAvatar param_4):
UnhollowerBaseLib.Il2CppException: System.NullReferenceException: Object reference not set to an instance of an object.


  at UnhollowerBaseLib.Il2CppException.RaiseExceptionIfNecessary (System.IntPtr returnedException) [0x00018] in <8eb030b38f51415daeb459bae49fe0fc>:0 

  at (wrapper dynamic-method) VRCAvatarManager.DMD<VRCAvatarManager::Method_Private_Boolean_GameObject_String_Single_ApiAvatar_0>(VRCAvatarManager,UnityEngine.GameObject,string,single,VRC.Core.ApiAvatar)

  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMD<VRCAvatarManager::Method_Private_Boolean_GameObject_String_Single_ApiAvatar_0>_il2cpp(intptr,intptr,intptr,single,intptr)
...

are my references wrong?

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup>
   <LangVersion>preview</LangVersion>
</PropertyGroup>
  <ItemGroup>
    <Reference Include="Assembly-CSharp">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\Assembly-CSharp.dll</HintPath>
    </Reference>
    <Reference Include="Il2Cppmscorlib">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\Il2Cppmscorlib.dll</HintPath>
    </Reference>
    <Reference Include="Il2CppSystem">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\Il2CppSystem.dll</HintPath>
    </Reference>
    <Reference Include="MelonLoader">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\MelonLoader.dll</HintPath>
    </Reference>
    <Reference Include="UnhollowerBaseLib">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnhollowerBaseLib.dll</HintPath>
    </Reference>
    <Reference Include="UniTask">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UniTask.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.AssetBundleModule">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.AssetBundleModule.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.CoreModule">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.CoreModule.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.UnityWebRequestAssetBundleModule">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath>
    </Reference>
    <Reference Include="UnityEngine.UnityWebRequestModule">
      <HintPath>G:\Steam\steamapps\common\VRChat\MelonLoader\Managed\UnityEngine.UnityWebRequestModule.dll</HintPath>
    </Reference>
  </ItemGroup>
</Project>

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