I'm using Godot 3.5-stable and have the following problem.
I create a custom resource with a GD-script attached. I declare a few export properties in the resource. I need to use those export properties to perform some computations. The problem I've encountered is that inside __init() all the properties have their default values rather than values assigned in the editor and saved in tres file. Also I've noticed that NOTIFICATION_POSTINITIALIZE is never called in resources neither.
Due to that the only thing I've come up with is lazy initialization. I.e. I check if the resource has been initialized in all resource methods as a first line and if not, I call the initialization. It's a little bit dumb way to deal with computations.
Is there a right way to perform computations in resources which use resource export values assigned in the editor.