I have an issue with world space canvases using Unity Input System.
Repro steps:
- Create new project (my version is 2023.2.0f1)
- Install Input System package and Multiplayer play mode package
- Switch to new Input system
- Create world space canvas
- Convert old input module to InputSystemUIInputModule
- We got: Screen position out of view frustum (screen pos -nan(ind), -nan(ind)) (Camera rect 0 0 1223 413)
Problem appears only in mirrored by multiplayer play mode process. No problems in build and main editor.
Fond workarounds:
- Disabling GraphicRaycaster on worldspace canvas
or
- Switching Input module back to old input module.
Thank you for developing of so userful tool and sorry for my english.
1 Like
There have been 13 additional patch (read: bugfix) releases since 0f1. Try the latest patch release to see if the issue is still reproducible.
Now, i tried it on Unity 2023.2.14f1 with Multiplayer Play Mode 1.0.0-pre.2 problem still exists
Have you tried deleting the VP directory?
Close the project, go into Library/VP and delete the folder with the cryptic names like „dj4h8lsm“. These are the virtual player copies. Avoid deleting the json in that folder, this contains your player tags.
Also pre.4 is the latest version, I think you have to manually specifiy that version in package manager.
Yes, i tried removing of VP directory,
Miswatched pre.4 version and now tried on MPPM 1.0.0-pre.4 on Unity 2023.2.14f1 with Unity Input System 1.7.0 after removing VP and problem unfortunately still exists
I can confirm this is still happening in the latest Unity 6000.0.21f1 and MPM 1.2.2.
As a workaround, I enable the graphics raycaster on the virtual clients after a small delay. You have to focus on the virtual client by clicking the window before its raycaster is enabled.