Title: Can't get mesh mask filters to work · Issue #69 · oculus-samples/Unity-DepthAPI · GitHub
Open Graph Title: Can't get mesh mask filters to work · Issue #69 · oculus-samples/Unity-DepthAPI
X Title: Can't get mesh mask filters to work · Issue #69 · oculus-samples/Unity-DepthAPI
Description: AssertionException: Shader named 'Meta/EnvironmentDepth/DepthMask' wasn't found in Resources folder. Assertion failure. Value was Null Expected: Value was not Null UnityEngine.Assertions.Assert.Fail (System.String message, System.String ...
Open Graph Description: AssertionException: Shader named 'Meta/EnvironmentDepth/DepthMask' wasn't found in Resources folder. Assertion failure. Value was Null Expected: Value was not Null UnityEngine.Assertions.Assert.Fai...
X Description: AssertionException: Shader named 'Meta/EnvironmentDepth/DepthMask' wasn't found in Resources folder. Assertion failure. Value was Null Expected: Value was not Null UnityEngine.Assertion...
Opengraph URL: https://github.com/oculus-samples/Unity-DepthAPI/issues/69
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't get mesh mask filters to work","articleBody":"```\r\nAssertionException: Shader named 'Meta/EnvironmentDepth/DepthMask' wasn't found in Resources folder.\r\nAssertion failure. Value was Null\r\nExpected: Value was not Null\r\nUnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at \u003c0652bf0e14024522b5c92574ad0ef550\u003e:0)\r\nUnityEngine.Assertions.Assert.IsNotNull (UnityEngine.Object value, System.String message) (at \u003c0652bf0e14024522b5c92574ad0ef550\u003e:0)\r\nUnityEngine.Assertions.Assert.IsNotNull[T] (T value, System.String message) (at \u003c0652bf0e14024522b5c92574ad0ef550\u003e:0)\r\nMeta.XR.EnvironmentDepth.EnvironmentDepthManager+Mask..ctor (System.Int32 width, System.Int32 height, System.Single bias) (at ./Library/PackageCache/com.meta.xr.sdk.core@71.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:410)\r\nMeta.XR.EnvironmentDepth.EnvironmentDepthManager.TryFetchDepthTexture (UnityEngine.Matrix4x4 trackingSpaceWorldToLocal) (at ./Library/PackageCache/com.meta.xr.sdk.core@71.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:369)\r\nMeta.XR.EnvironmentDepth.EnvironmentDepthManager.Update () (at ./Library/PackageCache/com.meta.xr.sdk.core@71.0.0/Scripts/EnvironmentDepth/EnvironmentDepthManager.cs:296)\r\n```\r\n\r\nI'm getting this error when I try to send a mesh filter to the EnvironmentDepthManager. Im using everything from meta's all in one sdk. Ive included URP shaders from the git url mentioned in this repo. Nowhere on the internet I could find this issue or this DepthMask shader. Please help!\r\n\r\nReference - https://developers.meta.com/horizon/documentation/unity/unity-depthapi-occlusions-advanced-usage#using-the-depth-mask-feature","author":{"url":"https://github.com/deepansh96","@type":"Person","name":"deepansh96"},"datePublished":"2024-11-27T06:30:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/69/Unity-DepthAPI/issues/69"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:10192dc1-b867-4cde-68dc-fd44ce98c028 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9B6:3BEF12:803467:BC619C:6A4E170E |
| html-safe-nonce | a20f33ea46c05c256f8578bce5f813ffb5c3d3b63ed5f25e2794cb609f8b0c19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUI2OjNCRUYxMjo4MDM0Njc6QkM2MTlDOjZBNEUxNzBFIiwidmlzaXRvcl9pZCI6IjMzNjEzOTk3MTU4MzI2NjU4NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ad312d22fc8c9cb17e58ffac3a74c93689480735239d0e56cbc8d958ffe8275c |
| hovercard-subject-tag | issue:2697282596 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/oculus-samples/Unity-DepthAPI/69/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c968a024c72366d57edb43b63d66c61115c897e8f4918ed1eb7f6888319cc48/oculus-samples/Unity-DepthAPI/issues/69 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c968a024c72366d57edb43b63d66c61115c897e8f4918ed1eb7f6888319cc48/oculus-samples/Unity-DepthAPI/issues/69 |
| og:image:alt | AssertionException: Shader named 'Meta/EnvironmentDepth/DepthMask' wasn't found in Resources folder. Assertion failure. Value was Null Expected: Value was not Null UnityEngine.Assertions.Assert.Fai... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deepansh96 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/oculus-samples/Unity-DepthAPI git https://github.com/oculus-samples/Unity-DepthAPI.git |
| octolytics-dimension-user_id | 92825639 |
| octolytics-dimension-user_login | oculus-samples |
| octolytics-dimension-repository_id | 696182619 |
| octolytics-dimension-repository_nwo | oculus-samples/Unity-DepthAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 696182619 |
| octolytics-dimension-repository_network_root_nwo | oculus-samples/Unity-DepthAPI |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width