Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Unknown error regarding UnityEngine.AddressableAssets

$
0
0
Hello everyone!
First things first, I have to say that I'm kind of a beginner with Unity so the words that I'll use may be wrong or not refer to what I want to explain (Additionnally, I'm not a native english-speaker).

I'm using **Unity 2021.3.8f1** , I'm at the beginning of a new 3d project using **HDRP**, I've already coded some features using Unity's new Input system. I am struggling because since a few days, my game won't work as intended when I launch the playmode. It always happens only when I change something in my script, then launch the playmode again : some features doesn't work anymore and when I turn off the playmode, I get the following errors in the console

![alt text][1]
Once I saw those errors, I went to Window > Asset Management > Addressables > Groups and as there wasn't any default local group, I created one. Now that I did that, I don't have the previous errors but only two left :

![alt text][2]
And from now on, I really don't know what to do, I never used the addressables system, I don't know where it is used in my project, but the thing is : one of my main feature, the shooting, doesn't work anymore. I think - and I'm really not sure - that it's linked to the fact that I'm instantiating some bullet prefab. I am thinking this because I made some debug.log and the code runs just fine, it's just that no instantiation seems to occur. The weird thing is that when I close my project and re-open it, the playmode will work just fine, it's only when I change anything in my script, save it, wait for unity to compile it, and then launch the playmode again that these errors will occur.
If someone has an idea about what's happening there, I'd be really relieved. Do not hesitate to ask me further information if you need. And I'm truly sorry in advance if my explainations weren't clear, as I said I'm a beginner and I'm kind of panicking about this issue as I don't find anything really similar on the internet and I don't know a thing about what are addressables and why does it matters here.

In any case, thank you for reading this!

[1]: /storage/temp/201660-bug-spike-1.png [2]: /storage/temp/201661-bug-spike-3.png

Viewing all articles
Browse latest Browse all 2891


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>