[1664] Portals can sometimes give you an error.
available in future release
TummyTime
Sometimes when you try to enter a portal, you can get an error that says "Cannot Join World, Object reference not set to and instance of object".
Portals seems fine before you enter it. Then you get the pop up with the error. After that the portal is blank without info and you can't pass through it. Selecting it and looking at the info still shows an instance as expected.
I haven't found a way to replicate this. And i have been experiencing it for a while on different versions.
```
2025.07.15 00:07:41 Debug - [Behaviour] Destination requested: wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e:wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e
2025.07.15 00:07:41 Debug - [Behaviour] Fetching world information for wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e
2025.07.15 00:07:41 Debug - [Behaviour] Desired destination is unknown, will need to fetch: wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e:wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e
2025.07.15 00:07:41 Debug - [Behaviour] Destination fetching: wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e:wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e
2025.07.15 00:07:41 Error - DataModel wrld_9ea4bd9c-b9fa-4c89-8bb5-6d1830e3553e is type <ÍÏÍÏÍÍÏÎÎÌÌÎÍÍÏÏÌÏÍÎÌÎÌ>, expected <ÎÍÏÍÍÏÌÌÎÌÌÏÍÌÍÍÏÍÍÎÌÎÏ>
2025.07.15 00:07:41 Error - [Behaviour] Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at ÍÍÏÎÍÎÎÌÏÍÌÌÎÏÍÍÏÌÍÍÎÍÎ.ÌÌÏÏÎÏÌÍÍÌÌÎÍÏÍÌÍÏÏÍÎÏÍ (System.String ÎÍÌÍÍÎÏÍÏÌÌÏÍÌÏÏÎÍÌÍÍÎÌ, System.String ÏÍÏÏÍÌÍÌÏÎÎÍÍÍÏÍÍÍÎÍÎÍÍ, ÌÏÍÍÌÍÍÎÎÏÏÏÍÌÌÎÌÏÌÎÏÍÌ ÎÍÏÎÍÍÏÌÏÎÏÎÍÎÌÌÏÏÌÎÏÍÌ, System.Action
1[T] ÎÌÍÎÌÎÏÌÍÎÌÎÌÌÎÌÍÏÏÌÍÎÏ, System.Nullable
1[T] ÎÏÍÎÌÎÎÎÏÏÌÌÌÌÎÎÏÍÌÍÎÎÍ, System.Nullable`1[T] ÏÍÏÏÌÌÌÏÏÏÎÎÎÍÌÍÏÏÎÍÏÎÏ) [0x00000] in <00000000000000000000000000000000>:0 at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1[TResult].TrySetResult (TResult result) [0x00000] in <00000000000000000000000000000000>:0
at ÍÍÏÎÍÎÎÌÏÍÌÌÎÏÍÍÏÌÍÍÎÍÎ.ÏÌÍÌÌÍÎÏÌÎÏÏÍÌÎÌÏÏÌÌÌÍÍ (VRC.Core.ApiWorld ÎÏÎÌÌÎÎÍÌÎÌÌÍÏÍÍÍÍÎÎÎÌÍ, System.String ÍÎÍÏÏÌÎÎÌÌÍÎÍÎÎÍÍÍÎÍÌÎÎ, System.String ÏÍÏÏÍÌÍÌÏÎÎÍÍÍÏÍÍÍÎÍÎÍÍ, System.Nullable
1[T] ÎÏÍÎÌÎÎÎÏÏÌÌÌÌÎÎÏÍÌÍÎÎÍ, System.Nullable
1[T] ÏÍÏÏÌÌÌÏÏÏÎÎÎÍÌÍÏÏÎÍÏÎÏ) [0x00000] in <00000000000000000000000000000000>:0 at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1[TResult].TrySetResult (TResult result) [0x00000] in <00000000000000000000000000000000>:0
at VRC.Core.ApiWorldInstance.CreateOrFetchAsync (System.String location, VRC.Core.UpdateDelegator+JobPriority priority, System.Boolean weAreCertainTheAPICreatedItAlready) [0x00000] in <00000000000000000000000000000000>:0
at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1[TResult].TrySetResult (TResult result) [0x00000] in <00000000000000000000000000000000>:0
at VRC.Core.ApiWorldInstance.CreateOrFetchAsync (VRC.Core.UpdateDelegator+JobPriority priority, System.Boolean weAreCertainTheAPICreatedItAlready) [0x00000] in <00000000000000000000000000000000>:0
at Cysharp.Threading.Tasks.UniTaskCompletionSourceCore`1[TResult].TrySetResult (TResult result) [0x00000] in <00000000000000000000000000000000>:0
at VRC.Core.ApiWorldInstance.CreateOrFetchAsyncInternal (VRC.Core.ApiWorldInstance model, VRC.Core.UpdateDelegator+JobPriority priority, System.Boolean weAreCertainTheAPICreatedItAlready, System.Collections.Generic.Dictionary`2[TKey,TValue] extraParameters) [0x00000] in <00000000000000000000000000000000>:0
at Cysharp.Threading.Tasks.UniTaskCompletionSource`1[T].TrySignalCompletion (Cysharp.Threading.Tasks.UniTaskStatus status) [0x00000] in <00000000000000000000000000000000>:0
at VRC.Core.APIResponseHandler.HandleResponse (System.Int32 requestId, BestHTTP.HTTPRequest req, BestHTTP.HTTPResponse resp, VRC.Core.ApiContainer responseContainer, System.Int32 retryCount, VRC.Core.UpdateDelegator+JobPriority priority, System.Boolean disableLog) [0x00000] in <00000000000000000000000000000000>:0
at Cysharp.Threading.Tasks.Internal.ContinuationQueue.RunCore () [0x00000] in <00000000000000000000000000000000>:0
2025.07.15 00:07:42 Debug - [PortalManager] Pending portal request fulfilled.```
Log In
This post was marked as
available in future release
Dexvoid
Merged in a post:
[1554] Portals built into worlds sometimes give "object reference" error and then break
IgbarVonSquid
The error can't be reproduced with 100% guarantee, nor have I found anything that seems to cause it, though I think it happens most often with The Black Cat? It seems to happen with both public and private worlds, empty and busy worlds, if the portal has a custom name or not doesn't seem to matter, etc.
However, I can get it to happen most often from this test world, which may suggest that the world the portal is in has some affect on whether it will break or not:
Sometimes the error pops up but then it loads you into the world anyway. But if it doesn't load, the portal is then "frozen" and can't be entered anymore unless you rejoin the instance.
Reproduction steps:
- Join test world
- Walk into portal. if the error doesn't pop up, let it load the world, then join it again and try again until it happens (Yes, it HAS to be the Black Cat because I think it happens most often with this world)
Output log is attached, with the relevant error at 2025.01.23 03:59:10. In this session I booted into a new instance directly using the VRC Quick Launcher. Walked into the portal, loaded into the Black Cat, pressed Go Home to go back to my home world, then made a new instance of the test world, joined it, and walked into the portal. This time it gave the error and didn't send me to The Black Cat.
Dexvoid
tracked
TummyTime
Dexvoid Later found this one. Same problem. https://feedback.vrchat.com/udon/p/1554-portals-built-into-worlds-sometimes-give-object-reference-error-and-then-br