#Problem with Input System / Build

1 messages · Page 1 of 1 (latest)

warped wedge
#

Hi, I have a problem:
Some things of my input stuff do not work in the build game, while working in the editor. For example camera zoom (while camera movement is working), clicks on objects via raycast don't get recnognised,... - But all of this stuff works in editor. I am using both old and new input system. - but I don't know how things exactly work. If someone solves this in the next 24h they would get a 10$ amazon gift card as a thank you. Let me now if you need more detail!

tawny tulip
#

So much missing information there, I don't even know where to start

timber void
#

Check the build's logs and see if anything input related stands out

warped wedge
#

thats the log. some null reference exeptions there. but I don't know why

tawny tulip
#

Almost definitely script execution order if it runs OK in Editor

warped wedge
tawny tulip
#

Development build?

warped wedge
#

nope

tawny tulip
#

That's tjhe place to start

#

then check the player.log

warped wedge
#

ok I'll do it in a minute

#

which things to tick?

warped wedge
#

I found something, but still have no idea, what makes the difference in the Build. Do Buttons always trigger Methods in the same order? like from top to bottom? Anyways, I will only be able to continue in like 20h.

warped wedge
#

As this is quite urgent I am increasing the gift card value to 20$, for the first one to solve

tawny tulip
#

If you are getting null ref exceptions then that is where you should be looking. Ask yourself how could these variables be null?

warped wedge
#

thanks already, going to check that tomorrow

tawny tulip
#

So much for time constraint, lol

warped wedge
#

I do have other obligations

warped wedge
#

Update: I've been able to prevent the null reference exceptions i was getting by just doing the stuff i want to do only if all variables are assigned. The weird thing is that this seems to have no impact on the build. - So no new problems did come up, but the input stuff still isn't working