PrototypeToken#texture#src
fails to be set in BaseActor#_preCreate
#10916
Labels
Milestone
PrototypeToken#texture#src
fails to be set in BaseActor#_preCreate
#10916
What happened?
BaseActor#_preCreate
tries to setPrototypeToken#img
which, as far as I can tell, was a shim that was removed in v12.As there always seems to be an
img
property in data (ActorSource
) thetexture
value is never set.What ways of accessing Foundry can you encounter this issue in?
Reproduction Steps
Override
Actor#getDefaultArtwork
to return a custom texture src and create a new actor.What core version are you reporting this for?
Version 12 Build 322
Relevant log output
No response
Bug Checklist
The text was updated successfully, but these errors were encountered: