jaipack17 / Nature2D

A 2D physics engine for Roblox. Create versatile physics simulations and mechanics with GUIs!
https://jaipack17.github.io/Nature2D/
MIT License
147 stars 8 forks source link

self is nil in Engine:Start() method #39

Closed Lemon6K closed 2 years ago

Lemon6K commented 2 years ago

"Engine:83: attempt to index nil with 'canvas' " is the error. This happens when i call the method Start() in Engine class.

Also if I try to call to call method CreateCanvas in Engine class it will drops "Engine:354: canvas is not a valid member of Players.Player.PlayerGui.Main.Canvas" - meaning that the self is the frame in this case.

jaipack17 commented 2 years ago

Do you still encounter this issue? If so, could you share a demo place-file where I can take a look at the error?