VLC for Unity now supported on Linux
code.videolan.org
code.videolan.org
> Initially, the Runtime Fee sought to charge developers a per install tariff once projects had passed certain milestones. It was a decision that left many users reeling, resulting in a colossal backlash (…)
How users reacted: https://old.reddit.com/r/OutOfTheLoop/comments/16h9lnw/whats...
> Any install, any reinstall, any installation on a second device, each and every one slap the dev with a fee. It gets dumber, because that cracked copy of your game on the high seas still incurs a fee when the pirate installs it. You might think we're at peak stupidity. You might think anyone who makes anything with Unity is a "fucking idiot" (the CEO certainly does), but we're not done yet. It's retroactive. (…)
Allowing third-party "app stores" is completely useless when all apps must be approved by the operating system company.
It's also being abused by google (technically, will be, very soon), I guess they saw that since the legal framework for this kind of thing has now been written, they can do it too.
https://ec.europa.eu/commission/presscorner/detail/en/ip_24_...
There is also LibRedirect[2] (or PrivacyRedirect, although I for one have no experience with that), a browser extension that automatically redirects reddit.com URLs to your Redlib instance of choice (it also does the same for other platforms, configurable).
[0] https://github.com/redlib-org/redlib
[1] https://github.com/redlib-org/redlib-instances/blob/main/ins...
i guess if you are using apple, you have chosen that the apple security is correct in requiring you to install the app?
> apple security... requiring you to install the app
It's the reddit website that freezes me out, nothing to do with the OS.
It uses OpenGL rendering through GLX and EGL, with DMA-BUF texture sharing to pass video frames efficiently to Unity’s renderer.
Only x86_64 is supported at this time. In the future, I will add ARM64 support as well as Vulkan.
At least those build options should be default.
The part which in missed all the time is the control of the glibc ABI version. Either you link with an "old" glibc, or you go 'Right Way(TM)', documentation is on binutils web site (noscript/basic HTML) : https://sourceware.org/binutils/docs/ld/VERSION.html
Must include glibc internal symbols.
I would use the "readelf" command to audit the binaries for broad elf(glibc)/linux distro support (like stock unity has been). Namely DT_NEED entries, symbol/shared lib version requirement (at the end of readelf output), etc.
An additional note: in the case of a complex set of ELF64 binaries, don't forget that ELF DT_RPATH is deprecated in favor of ELF DT_RUNPATH (see man page of ld.so). To force DT_RPATH into DT_RUNPATH, you must use the follower binutils ld option: '--enable-new-dtags' (using the compiler driver, that would be '-Wl,--enable-new-dtags'. Carefull, you'll see that in ld.so man page, DT_RPATH and DT_RUNPATH do not behave the same way. You should use dynamic loading for your private shared libs using the $ORIGIN keyword anyway.
Ofc, dynamic loading (libdl/dlopen/dlsym/dlclose) is mandatory for system interface shared libs, and for core video games: libX11 set or xcb set of client X11 libs, libasound (wayland code is statically linked with its libxkbcommon for xkb keymap handling). Basically, The DT_NEED entries of your set of ELF64 binaries must reference only common glibc libs (and if you don't dynamically load them, your private ones with proper DT_RUNPATH).
For cutscene playback?
The standout option for a more elaborate video handling was typically AVPro. It's a really good option, with that said with vlc stepping up hopefully it's no longer strictly necessary.
I suspect it's a graphics driver issue, or something else
I only managed to figure that out thanks to this[1] reddit comment, which also includes a solution:
Noticed this a while back with 3.0.23. Managed to troubleshoot via debug logs.
Basically the plugin cache goes stale and has to rebuild itself every first launch. No clue why.
To fix: go to C:\Program Files\VideoLAN\VLC (or wherever you installed) with a terminal in administrator mode.
run the command: ./vlc-cache-gen.exe "C:\Program Files\VideoLAN\VLC\plugins"
That will rebuild the plugins.dat file which should fix it.
No windows defender exclusion required.[1]: https://old.reddit.com/r/VLC/comments/1skofwx/vlc_3023_windo...
Video game programming with unity was an absolute nightmare to try and get working with any kind of gitops and or with multiple people working on the same code base a couple of years ago
Wonder if that changed ?
While plasticSCM has come a long way, I still find it a bit buggy and hard to work around. I miss the more advanced features of git.
Wrote a proper double-buffering video/audio player in Unity using parts of an ffmpeg wrapper over ten years ago. Seems silly they never did anything similar officially, just used lackluster platform API's.
A tool that's a bit half baked.
They have been doing a hell of a lot better lately though.