Title: Unity crash when finding closest point in update · Issue #150 · unitycoder/UnityPointCloudViewer · GitHub
Open Graph Title: Unity crash when finding closest point in update · Issue #150 · unitycoder/UnityPointCloudViewer
X Title: Unity crash when finding closest point in update · Issue #150 · unitycoder/UnityPointCloudViewer
Description: Hi, I think I've discovered a bug in the point picking tool for V3. I'm trying to make a annotation tool for my point cloud but Unity always crashes. It works for a while but after a few seconds unity freezes. A possible guess is that th...
Open Graph Description: Hi, I think I've discovered a bug in the point picking tool for V3. I'm trying to make a annotation tool for my point cloud but Unity always crashes. It works for a while but after a few seconds un...
X Description: Hi, I think I've discovered a bug in the point picking tool for V3. I'm trying to make a annotation tool for my point cloud but Unity always crashes. It works for a while but after a few se...
Opengraph URL: https://github.com/unitycoder/UnityPointCloudViewer/issues/150
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unity crash when finding closest point in update","articleBody":"Hi,\r\n\r\nI think I've discovered a bug in the point picking tool for V3.\r\n\r\nI'm trying to make a annotation tool for my point cloud but Unity always crashes. \r\nIt works for a while but after a few seconds unity freezes.\r\nA possible guess is that there are too many threads being started? \r\n\r\nYou can test it by changing the Update function in the 'PointPickerV3' script.\r\nChange the 'Input.GetMouseButtonDown' to 'Input.GetMouseButton'. Then go into play mode and hold the left mouse button down while moving around the point cloud. \r\nAfter a while Unity should freeze and crash without a crash report screen. In the editor log, this is the last log I get.\r\n\r\n------------------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nCLR: Managed code called FailFast, saying \"An exception was not handled in an AsyncLocal\u003cT> notification callback.\"\r\n(v3) Picked point at :(1.71, 1.54, 2.25)\r\nUnityEngine.Debug:ExtractStackTraceNoAlloc (byte*,int,string)\r\nUnityEngine.StackTraceUtility:ExtractStackTrace ()\r\nUnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)\r\nUnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])\r\nUnityEngine.Logger:Log (UnityEngine.LogType,object)\r\nUnityEngine.Debug:Log (object)\r\nPointCloudExtras.PointPickerV3:PointSelected (UnityEngine.Vector3) (at Assets/Project/BIM/features/PointCloudTools/PointCloudViewerDX11/Scripts/Common/dev/PointPickerV3.cs:99)\r\nunitycodercom_PointCloudBinaryViewer.PointCloudViewerTilesDX11:PointCallBack (object) (at Assets/Project/BIM/features/PointCloudTools/PointCloudViewerDX11/Scripts/PointCloudViewerTilesDX11.cs:1931)\r\nUnityLibrary.MainThread/CallInfo:Execute () (at Assets/Project/BIM/features/PointCloudTools/PointCloudViewerDX11/Scripts/Common/MainThread.cs:25)\r\nUnityLibrary.MainThread/\u003cExecuter>d__12:MoveNext () (at Assets/Project/BIM/features/PointCloudTools/PointCloudViewerDX11/Scripts/Common/MainThread.cs:103)\r\nUnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)\r\n\r\n(Filename: Assets/Project/BIM/features/PointCloudTools/PointCloudViewerDX11/Scripts/Common/dev/PointPickerV3.cs Line: 99)\r\n\r\nUnhandled Exception:\r\nSystem.Threading.ThreadAbortException: Thread was being aborted.\r\n at System.Threading.ExecutionContext.OnAsyncLocalContextChanged (System.Threading.ExecutionContext previous, System.Threading.ExecutionContext current) [0x000ce] in \u003cf22cb97e7aa5412ba04225fa1fc145f2>:0\r\n------------------------------------------------------------------------------------------------------------------------------------------------\r\n\r\nI'm not really sure where to start looking but I'll update in case I find something.","author":{"url":"https://github.com/DriesVRBase","@type":"Person","name":"DriesVRBase"},"datePublished":"2024-10-24T10:24:03Z","url":"https://github.com/unitycoder/UnityPointCloudViewer/issues/150"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:66c17130-1bbc-2301-8271-0b502b167bdb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9DA:30CC09:196CF37:22030C6:6AFFF11C |
| html-safe-nonce | 7301570aa31fa77f3ba06f903762ac4e206ba5d719fd97e018e5644da8b0337b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOURBOjMwQ0MwOToxOTZDRjM3OjIyMDMwQzY6NkFGRkYxMUMiLCJ2aXNpdG9yX2lkIjoiODc5OTk2MTk4NjM3Nzk2OTk0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9ef16337cd35bf92ed82a4405377eb63a16ffaea7db8b4b8ef88dd61a5eb4f8b |
| hovercard-subject-tag | issue:2611140085 |
| 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/unitycoder/UnityPointCloudViewer/150/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bb8b4af6ec5f5cffd0882288e2b005db064d8d2e675eed4a2ac16d0601897470/unitycoder/UnityPointCloudViewer/issues/150 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bb8b4af6ec5f5cffd0882288e2b005db064d8d2e675eed4a2ac16d0601897470/unitycoder/UnityPointCloudViewer/issues/150 |
| og:image:alt | Hi, I think I've discovered a bug in the point picking tool for V3. I'm trying to make a annotation tool for my point cloud but Unity always crashes. It works for a while but after a few seconds un... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DriesVRBase |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/unitycoder/UnityPointCloudViewer git https://github.com/unitycoder/UnityPointCloudViewer.git |
| octolytics-dimension-user_id | 5438317 |
| octolytics-dimension-user_login | unitycoder |
| octolytics-dimension-repository_id | 57969691 |
| octolytics-dimension-repository_nwo | unitycoder/UnityPointCloudViewer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 57969691 |
| octolytics-dimension-repository_network_root_nwo | unitycoder/UnityPointCloudViewer |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width