-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using TextMeshPro causes point cloud to duplicate #137
Comments
are you using BiRP/URP/HDRP? |
We are using URP |
ok ill test / check |
in the meanwhile, possibly one workaround:
info about Camera.current being null in URP |
Workaround worked but the second camera that is being used for the interface still renders unless you place it outside of render distance. |
does that happen, even if added that on extra line of code? (i didnt see in camera preview at least) |
We focused on URP support and forgot to add the line of code you suggested, now workaround works as intended |
For unknown reasons when using TextMeshPro in the scene it causes the point cloud to render two times, presumably once from the main camera as intended and second time from the camera assigned to TextMeshPro even though it is set to be rendered only by MainCamera
also render only main camera in PointCloudViewerTilesDX11 gives an error
NullReferenceException: Object reference not set to an instance of an object unitycodercom_PointCloudBinaryViewer.PointCloudViewerTilesDX11.OnRenderObject () (at Assets/PointCloudTools/PointCloudViewerDX11/Scripts/PointCloudViewerTilesDX11.cs:1022) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Even if you try to workaround the error by coding to use only one camera it still renders using all cameras.
Any suggestions on how to fix that?
The text was updated successfully, but these errors were encountered: