[Resolved] ERROR: physics.start() has not been called.

I was using physic in one level.lua and all was working fine, but i have decided to create a menu.lua first to go to that scene, it works fine but when i come back to menu it gives me an error:

ERROR: physics.start() has not been called.

And all the menu stop to works.

local physics = require “physics”
physics.start();

This lines are in the level, not in the menu.

What can be happening? [import]uid: 113117 topic_id: 23822 reply_id: 323822[/import]

I answer myself:
The function used to come back to menu had not the “return true”.Sorry the message was confusing.

Change

local function backMenu(event)  
 storyboard.gotoScene( "menu" )  
end  

to

[code]
local function backMenu(event)
storyboard.gotoScene( “menu” )
return true

end
[/code] [import]uid: 113117 topic_id: 23822 reply_id: 95916[/import]

Glad you got it sorted :slight_smile: [import]uid: 84637 topic_id: 23822 reply_id: 95918[/import]