I’ve been able to stop the Windows crashes with director in one of my games. I discovered that the issue was with a Button. Here’s how I was creating the button:
[lua]local backButton = ui.newButton{
default = “assets/images/back-button-up-skin.png”,
over = “assets/images/back-button-down-skin.png”,
text = “”,
onRelease = backButtonHandler
}[/lua]
The problem, apparently, is with setting the text to an empty string. When I remove that line entirely (since it’s already an empty string anyway), or if set it to a space " " instead of empty, the crashes stop happening. You might also cause the crash by calling button:setText(""), but I didn’t test it.
I don’t know if that will work for anyone else, but that did the trick for me. Look for empty strings in your code. Good luck! [import]uid: 38950 topic_id: 8418 reply_id: 30452[/import]