Hi⦠Iāve encountered a problem running Export & Build (production), whereby Iām presented with a notification (screenshot attached).
If I opt to ācontinueā Iām unable to get a successful build. If I opt to āabort and fix errorsā Iām unsure what to do.
The message at the foot of the window tells me, āPre-build hook failed. See console for errorsā and the console tells me āsrc/scripts/play.ts(6,4): error TS2564: Property ātimelineā has no initializer and is not definitely assigned in the constructor.ā
The script referred to is as follows:-
export class Play extends Behaviour
{
@serializable(PlayableDirector)
timeline : PlayableDirector;
update(){
if(this.context.input.getPointerDown(0)) this.timeline.play();
}
}```
Thanks in advance for any advice/how to fix š

[Original Post on Discord](https://discord.com/channels/717429793926283276/1075448621736136756)
*by user 908977119781060648*