I have been getting this as a warning lately. I’m sure I updated the XR Interaction Toolkit has 31 been suggested as the layer to use for Teleport?
There are doc pages that show it used to be set to User Layer 8.
I have been getting this as a warning lately. I’m sure I updated the XR Interaction Toolkit has 31 been suggested as the layer to use for Teleport?
There are doc pages that show it used to be set to User Layer 8.
same
Now we’re just waiting to find out if this is a recommendation
I have the same error too, any updates?
It is only a warning but that means that something is issuing it. I haven’t changed mine yet but I would if I could find out what’s up.
Just started getting this as well!
It would be really nice if someone from Unity could answer. I’m holding out just in case it is a bogus message of some sort. Obviously not a requirement to be 31.
If the requirement was to be 31, I’d have given up nearly 16 years ago
I’m new to unity, though this is what I did to fix it. No clue if it is right:
Edit → Project Settings → XR Interactive Toolkit
Click Interactive Layers
in Layer 31, enter “Teleport”
The error goes away for me.
Yep, you had it to a T! (A capital T! That’s all it needed! )
Thanks but we new how to add layers. The question is rather 'why 31"? When did the check for that layer begin and why?
Because line 31 was where the typo was
Layer 31 is an undocumented layer that Unity uses itself to support clicking and selecting items in the Editor view, even if the object has no colliders, etc. (Undocumented, but pretty obvious it exists, since it’s just a 32bit integer bit flag field.) It’s not listed on the Layers list for that reason. Of course, you can try using it in your game during runtime, but you will have to deal with the fact that there are limitations and conflicts with the Editor view if you try to do so.
Edit: my memory of the purpose was slightly off, it’s to support the Editor’s “Preview” features like animations. Items you have in Layer 31 will show up in Previews. There may be other uses. I don’t know why/whether there are any specific warnings about that layer. It has nothing to do with “teleport” as much as your tutorial/asset decided to use that layer.
Can you share with us where you got some of this information? Clearly one can assign layers and many of us have assigned a Teleport layer. I don’t use 31 and I doubt I’m alone. Unity never used to issue a warning and now several people are seeing.it. Your last sentence makes it sound like we shouldn’t assign that layer is that what you are suggesting?
Thanks very much. So we should pretty much ignore the warning.
Came here to confirm this as well. I am seeing the exact same warning. Should we ignore this or try to change the typo mentioned by @dunderline ?
Well I would sit tight. I assume it will eventually be resolved. As for naming the layer I wouldn’t for now unless naming it something like _Teleport would work. Many people have a Teleport layer they use and having two with the same name is a recipe for trouble.
Totally agree, thank you @tleylan .