Cannot set the texture from a actor created from copyActor()

According to the post linked-to below, “copyActor” isn’t really intended to be used by itself, but rather is called when copy-constructing an Actor.

Further, it suggests that the result of so copying shouldn’t be all that different to the results of simply reloading the Actor. (Unless, I imagine, you’re using a procedurally-generated Actor.)

Now, you talk both about setting a texture, and about getting a texture. What, precisely, are you trying to do…?

If you want to retrieve a texture from an Actor, you might try NodePath’s “findTexture” methods.

For reference, if you’re wondering about the structure of a node-hierarchy, you can call NodePath’s “ls” method to get that hierarchy printed out. Like so:

self.someNodePath.ls()

(Note that this doesn’t return anything! It simply prints the result to the console/terminal.)