Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Well done on getting it to work on Proton at all, because I've tried and failed to even get it to boot. Unfortunately, I use a bunch of Windows API calls, so native Linux builds are not an efficient use of efforts for now. Do you generally get Unity games running with a good framerate?

(+1)

I use the same script for all Unity games for Windows:

Do you generally get Unity games running with a good framerate?

Yeah, normally they run about as well as they would on Windows.

Unfortunately, I use a bunch of Windows API calls

What for? Windowing, I/O, audio playback, and rendering context would all be wrapped by Unity wouldn’t they? The only remaining thing I normally use OS calls for is hot-loading DLLs.

>What for? Windowing, I/O, audio playback, and rendering context would all be wrapped by Unity wouldn’t they? The only remaining thing I normally use OS calls for is hot-loading DLLs.

Mainly for setting the cursor position, and also some minor reading of window data like border width. I should probably change to an in-game virtual cursor implementation at some point for many reasons, and that should get written out then. 

I wonder why the performance is so bad, then. Are your specs good, and these other Unity games you're running 3D? The people running on Windows don't seem to be having any issues, and I get hundreds of FPS on a 1060.