A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Very simple and elegant work around. Thank you!
Ahh that's interesting but can I just make sure I understand... public class StatCollection : ScriptableObject { public Stats<Stat> stats; }...
Ahh this is what I had before it broke but decided it was pointless having an empty class... obviously I was wrong. Thank you!
I get a null reference exception when I try to create a Stat Collection from the editor menu. Are generic scriptable object not supported? I'm...
Thanks for that @Bunny83. I didn't think to assign them seperate ID's. Anyhow, it seems (almost randomly) that sometimes my projectile will get...
My project is still very small (like 27 scripts + a few plugins). In the entire project I only use Destroy() once, and that's for a Singleton...
I tried using another 3rd party pooler (that uses UnityEngine.Pool I believe) and after some playing around it seems I only get the errors when a...
Yes, I meant I may have made a mistake and copied over the wrong stack trace when I made this post.
Yes the projectiles are being destroyed at runtime, and the errors come then. Unless the stack trace I've copied is the one generated when I exit...
Thanks for replies guys. I had scoured for LeanPool issues and bugs but the dev pretty much replied to any of them with "you're definitely...
I've been debugging this for 3 days now; I know how to debug but this one has got me stumped. My original post is from a debug that I put in the...
You haven't defined the variables currentName, currentNumber, currentSuccessRate or currentWorkTime. This is how you should define them as local...
Hello. I'm getting issues with my projectiles being destroyed instead of despawning back to their pool (using the magical LeanPool.Spawn/Despawn...
Appreciate this, and I definitely do plan on modularising these components. This Player class is purely for testing at the moment. Only thing...
At the moment: using System.Collections; using UnityEngine; using System; public enum CharacterStat { MovementSpeed, MaxHealth,...
Good evening. I'm hoping for some advice from the experts. I can't seem to get this working: public abstract class Stats<TEnum> :...
This is great, I learned something new atleast! But, was not the issue unfortunately. I redragged the image fields in the inspector on my slot...
public void UpdateSlot(Item slotItem) { Item = slotItem; Debug.Log(Item.sprite.name); image.sprite = Item.sprite; // Image not...
public void UpdateSlot(Item slotItem) { Item = slotItem; image.sprite = Item.sprite; // Image not getting changed ......
Doh, that's my fault entirely. My game is 2D, thought I had mentioned that. Apologies