\r\n \u003C/Suspense>\r\n```\r\nBut get `Failed to resolve component: primitive`",[],"lab","How to load and render STL models?","2024-07-17T17:42:39Z","https://github.com/Tresjs/lab/issues/53",0.68487614,{"description":2873,"labels":2874,"number":2875,"owner":2857,"repository":2876,"state":2859,"title":2877,"updated_at":2878,"url":2879,"score":2880},"**Describe the bug**\r\nFor some reason `renderCtx.frames.value` never goes to 0 when using the on-demand rendering. Other effects work fine.\r\n\r\n**Reproduction**\r\nCreate a simple scene with the outline effect. Try on-demand rendering.\r\n",[],125,"post-processing","Outline effect (pmndrs) does not support on-demand rendering","2024-09-22T20:00:29Z","https://github.com/Tresjs/post-processing/issues/125",0.69456404,{"description":2882,"labels":2883,"number":2890,"owner":2857,"repository":2858,"state":2859,"title":2891,"updated_at":2892,"url":2893,"score":2894},"### Description\n\nAs a maintainer of TresJS, I would like to clean up the core logic by refactoring it to use VueUse `createInjectionState` https://vueuse.org/shared/createInjectionState/#createinjectionstate instead\n\n### Suggested solution\n\nReplace manual context provider with something like:\n\n```ts\nconst [useTresContextProvider, useTresContext] = createInjectionState((props, emit) => {\n // Create refs with initial null values\n const scene = shallowRef\u003CTresScene | null>(null)\n const renderer = shallowRef\u003CWebGLRenderer | null>(null)\n const camera = shallowRef\u003CPerspectiveCamera | null>(null)\n const loop = createRenderLoop()\n\n // Render mode logic etc\n})\n\nexport { useTresContext, useTresContextProvider }\n```\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\n- [x] Read the [docs](https://tresjs.org/guide).\n- [x] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.",[2884,2887],{"name":2885,"color":2886},"p3-significant","2C78E3",{"name":2888,"color":2889},"v5","EFC959",961,"Refactor `useTresContextProvider` into `createInjectionState`","2025-03-18T15:30:44Z","https://github.com/Tresjs/tres/issues/961",0.69834965,{"description":2896,"labels":2897,"number":2904,"owner":2857,"repository":2905,"state":2859,"title":2906,"updated_at":2907,"url":2908,"score":2909},"### Description\n\nThe physics component should expose the context of rapier... The world\n\n### Suggested solution\n\nUsing define expose\n\n### Alternative\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/rapier/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/rapier/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://rapier.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/rapier/issues) that reports the same bug to avoid creating a duplicate.",[2898,2901],{"name":2899,"color":2900},"p2-nice-to-have","D4C5F9",{"name":2902,"color":2903},"v1","5B6B67",137,"rapier","Expose for the Physic component","2024-10-11T09:22:27Z","https://github.com/Tresjs/rapier/issues/137",0.70125663,{"description":2911,"labels":2912,"number":2913,"owner":2857,"repository":2914,"state":2859,"title":2915,"updated_at":2916,"url":2917,"score":2918},"### Describe the bug\n\nTransformControls mouseUp no emit, mouseDown trigger both up and down.\n\n### Reproduction\n\nnone\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n```shell\n\n```\n\n### Used Package Manager\n\npnpm\n\n### Code of Conduct\n\n- [x] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [x] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [x] Read the [docs](https://cientos.tresjs.org/guide).\n- [x] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],614,"cientos","TransformControls mouseUp no emit","2025-04-25T02:37:27Z","https://github.com/Tresjs/cientos/issues/614",0.7055766,{"description":2920,"labels":2921,"number":2922,"owner":2857,"repository":2867,"state":2859,"title":2923,"updated_at":2924,"url":2925,"score":2926},"The link \"Authoring experiments\" from the [README](https://github.com/Tresjs/lab/blob/main/README.md) is broken.\r\n\r\n## The Link\r\n\r\n\u003Cimg width=\"695\" alt=\"Screenshot 2024-03-15 at 15 42 13\" src=\"https://github.com/Tresjs/lab/assets/20469369/c83cd04b-d8c5-48ae-a2c9-bbdcf405f97f\">\r\n\r\n## Result\r\n\r\n\u003Cimg width=\"1471\" alt=\"Screenshot 2024-03-15 at 15 46 08\" src=\"https://github.com/Tresjs/lab/assets/20469369/66cf1468-a38a-4b34-83ac-f1487441d29b\">\r\n",[],109,"Broken link in README.md","2024-03-15T14:47:05Z","https://github.com/Tresjs/lab/issues/109",0.71172607,{"description":2928,"labels":2929,"number":2936,"owner":2857,"repository":2914,"state":2859,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the bug\n\nThe examples under https://cientos.tresjs.org/guide/misc/html-component.html#html are currently broken\n\n### Reproduction\n\nhttps://cientos.tresjs.org/guide/misc/html-component.html#html\n\n### Steps to reproduce\n\n_No response_\n\n### System Info\n\n_No response_\n\n### Used Package Manager\n\nnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2930,2933],{"name":2931,"color":2932},"bug","d73a4a",{"name":2934,"color":2935},"docs","0075ca",368,"[Docs] - HTML examples are broken ","2024-07-18T08:07:36Z","https://github.com/Tresjs/cientos/issues/368",0.71293044,{"description":2942,"labels":2943,"number":2947,"owner":2857,"repository":2914,"state":2859,"title":2948,"updated_at":2949,"url":2950,"score":2951},"### Describe the bug\n\nAdd `Environment` component to a nuxt tres app\r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/~/edit/tres-nuxt-starter-z2w6ry-gqqcae?file=components/TheExperience.vue\n\n### Steps to reproduce\n\nGo to reproduction\r\nOpen console.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n @tresjs/cientos: ^4.0.0 => 4.0.0 \r\n @tresjs/nuxt: ^3.0.4 => 3.0.4\n```\n\n\n### Used Package Manager\n\npnpm\n\n### Code of Conduct\n\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/cientos/blob/main/CODE_OF_CONDUCT.md)\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/cientos/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://cientos.tresjs.org/guide).\n- [X] Check that there isn't [already an issue](https://github.com/Tresjs/cientos/issues) that reports the same bug to avoid creating a duplicate.\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[2944],{"name":2945,"color":2946},"p5-urgent-bug","B60205",474,"Environment breaks in nuxt","2024-11-26T08:16:39Z","https://github.com/Tresjs/cientos/issues/474",0.7152154,{"description":2953,"labels":2954,"number":2955,"owner":2857,"repository":2858,"state":2956,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\r\n\r\nAfter updating to `@4.2.0` I have begun seeing this error on mount and it points to my `router.ts` from `main.ts`\r\n> [Vue warn]: onUnmounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.\r\n\r\nI'm caching my `GLTF` model in a `pinia` store and this technique works fine in `4.0.2`. `cientos@4.0.0-next.1`.\r\nWhen I leave my experience page, I get the same error again and my cached model does not load. \r\n\r\n### Reproduction\r\n\r\n https://stackblitz.com/edit/tresjs-minimal-reproduction-7zvlfu?file=src%2Fstore.ts,src%2FApp.vue,src%2Fcomponents%2FTheExperience.vue\r\n\r\n### Steps to reproduce\r\n\r\n1) Load a model using `useGLTF` and store it in a `pinia` store as a `shallowRef`. \r\n2) `onMount` of the component that uses the model the `vue warn` appears. \r\n3) Navigate away from the page (by clicking the top buttons in repro)- the error appears a second time. \r\n4) Navigate back - the model is gone.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.20.3 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 10.2.3 - /usr/local/bin/npm\r\n pnpm: 8.15.6 - /usr/local/bin/pnpm\r\n npmPackages:\r\n @tresjs/cientos: ^4.0.0-next.1 => 4.0.0-next.1 \r\n @tresjs/core: ^4.2.0 => 4.2.1 \r\n vite: ^5.3.2 => 5.3.2\r\n```\r\n\r\n\r\n### Used Package Manager\r\n\r\nnpm\r\n\r\n### Code of Conduct\r\n\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/Tresjs/tres/blob/main/CODE_OF_CONDUCT.md)\r\n- [X] Read the [Contributing Guidelines](https://github.com/Tresjs/tres/blob/main/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://tresjs.org/guide).\r\n- [X] Check that there isn't [already an issue](https://github.com/tresjs/tres/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.",[],784,"closed","[Vue warn]: onUnmounted ... after upgrading to `4.2.0` - cached model fails to reload","2024-10-31T06:46:17Z","https://github.com/Tresjs/tres/issues/784",0.67377603,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fnyPnPf-khmte4AsVn-rtsD5hEYbtTSsjqn85nNxUf4k":-1},"/Tresjs/lab/150"]