Comments (12)
Just as a heads up, I tried porting this forward to work in Unity 2020.2:
https://github.com/adamgryu/kDecals
I also stumbled upon someone else who did the same thing.
I don't know a lot about the URP, maybe they did it better! Dunno!
https://github.com/dOObgames/kDecals
from kdecals.
@StarManta
hm I believe the reason it is not working is that you try to clone the repo from Kink3d's github but with adamgryu's commit hash? Which is kind of understandable since the readme is not updated automatically to reflect the new account when a repo is forked.
This works for me (specifying package dependencies the way you did doesn't):
"com.kink3d.decals": "https://github.com/adamgryu/kDecals.git#a22ee8a",
"com.kink3d.pooling": "https://github.com/Kink3d/kPooling.git",
from kdecals.
I've also found this to be faulty in 2020.2
from kdecals.
Have anyone found a solution for this?
from kdecals.
the fix mentioned by adamgryu seems to work.
Moving m_RenderPass = new DecalRenderPass(); in DecalRendererFeature.cs into the Create() Function resolves the error for me. I actually did not try this with this decal repository but Motion Blur and completely different TAA repo and they both now work.
from kdecals.
@adamgryu The project I'm on has this package added via the package manager, which (I believe) can only choose commits with tags to sync down. The most recent tag (2.0.0) is from a few days before this thread and does not have this fix, so I can't update (unless I remove the git from package manager and pull it down elsewhere, which is taking some steps backwards). Could you please push up a version with a tag on a commit with the fix?
from kdecals.
from kdecals.
@CianNoonan I don't seem to be able to. When I add in the SHA to the URL:
{
"dependencies": {
"com.kink3d.decals": {
"version": "https://github.com/Kink3d/kDecals.git#a22ee8adf12f0fab5ff109931471fd7794555238",
"depth": 0,
"source": "git",
"dependencies": {
"com.kink3d.pooling": "0.1.0",
"com.unity.render-pipelines.universal": "7.x.x"
},
"hash": "a22ee8adf12f0fab5ff109931471fd7794555238"
},
"com.kink3d.pooling": {
I switch to Unity, it says "Resolving packages" for a second, and then changes the file back to what it was, and the GetRecorder error is still there.
from kdecals.
Where did you get a22ee8adf12f0fab5ff109931471fd7794555238
from? I cant find that sha anywhere. a72ab04b0c37e03b13728f9c5f2b98bce9df7076
is the sha for the release 2.0.0 tag. What happens if you try using that
from kdecals.
Where did you get
a22ee8adf12f0fab5ff109931471fd7794555238
from? I cant find that sha anywhere.a72ab04b0c37e03b13728f9c5f2b98bce9df7076
is the sha for the release 2.0.0 tag. What happens if you try using that
I don't need 2.0.0, that's the bugged one that I already have. a22 is the one adamgryu linked above, I'm confused what other commit you would think I would be trying in this thread other than "the fixed one"?
@fleity I tried that syntax as well, with the exact same result: Unity reverts packages-lock to what it looked like before and the bug remains.
from kdecals.
It sounds like an esoteric package manager issue if it keeps failing.
When I tried to add Adamgryu's repo locally I got some dependency errors. Are you sure its not erroring and then reverting to the last working version?
from kdecals.
Sorry you're having trouble with this. I don't plan to maintain my fork of kDecals (while I got my fork working, I introduced a serious performance issue by not culling during the kDecals pass - Unity kept crashing otherwise) so you might be better off just downloading a copy of the repo instead of using the package manager.
from kdecals.
Related Issues (20)
- Layer mask not working HOT 4
- Decal over UI HOT 2
- Decal Shaders not working on URP 7.2.0 and Unity 2019.3 HOT 1
- Editor hangs as soon as a kDecal shares a scene with a terrain HOT 4
- Performance drop on Oculus Quest
- Texture change at runtime will affect all other decals. (I have instantiated DecalData for each decal)
- Not working with HDRP (Unity 2019.3) HOT 2
- Not working with vertex displacement HOT 1
- Weird graphic rendering on iOS with URP
- Cannot see decals in 2019.3.6f1 HOT 2
- Rendering crashes when creating decal HOT 2
- Decal showing in Editor but in in Play mode? HOT 2
- layermask serialization problem
- Decals rendering on top of particles (Unity 2020.1/URP 8.2.0) HOT 6
- Instanced Materials
- Surface the decal is being projected against displays as pure black (Unity LTS 2019.4.13f1/URP 7.3.1) HOT 2
- Cannot import/download package - Unity 2021.1.12f1
- Error when adding dependencys to manifest.json
- There are no materials on Decal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kdecals.