#mac-bugs-discussion

1 messages · Page 2 of 1

hard fog
#

ok

short bear
#

01/18/2025 17:31:10: Can't check "ViewTargetUserCreatedContent" privilege before the privilege manager has been initialized!
01/18/2025 17:31:10: Failed to check UGC privilege

#

That's from the log I just checked.

#

Could it be that PlayFab needs to be contacted? Because it also complains about that, since I don't want to log in to Game Center.

#

01/18/2025 17:30:21: Can't get PlatformUserId before the privilege manager has been initialized!

#

Also, please let me know if there are multiple places where the settings file could be stored. Because I'm pretty sure I deleted mine, and Valheim still finds my settings.

hard fog
#

Hm.. I wonder how I can enable the console in appstore version of mac 🤔

short bear
#

You need to run it from the terminal.

#

/Applications/Valheim.app/Content/MacOS/Valheim -console

#

/Applications/Valheim.app/Contents/MacOS/Valheim -console

hard fog
#

ty

short bear
#

Np

#

Thanks for trying to help!

#

I just checked, the console doesn't show anything.

hard fog
#

there is never a console output

#

I just need to speed test without actually playing the game for hours 😄

short bear
#

:d

#

😁

#

Ok, I'll try logging into Game Center and see if that helps. If that is required, it is sinister indeed, because it would turn Valheim into an always-online game. 😠

hard fog
#

I am not a avid mac user btw 😄

short bear
#

I know. 😉

#

And no, that wasn't it either.

#

Most game developers are not avid Mac users... sigh

hard fog
#

we do have a few. but it's the weekend and no one works weekends here 😄

short bear
#

I really appreciate you being here and helping me. I know you don't have to. bow

hard fog
#

oh

#

take a screenshot and post it here

short bear
#

k, just a sec

hard fog
#

I just wanted to see it for myself

#

but a screenshot would probably be enough

short bear
#

Here it is.

#

Sorry, it's a bit dark.

#

No lights there.

solemn cypress
#

Plist location
For Steam:
~/Library/Preferences/com.coffeestain.valheim-steam.plist
For AppStore:
~/Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist

short bear
#

Yep, been there, deleted that.

#

Still loads my settings. 😛

solemn cypress
#

Which app, in appstore?

short bear
#

Which is totally weird.

#

App Store.

#

And I deleted the Steam one as well, and I think it also loaded my settings anyway.

#

The only difference for the App Store version was that the resolution switched back to 1024x768 windowed. And that was it.

#

Everything else was still the same.

solemn cypress
#

How are you laucnhing the game from AppStore?
Deleting the plist file I mentioned for AppStore resets my settings to default
Are you talking about specific settings?
Do you have the AppStore game version modded or something?

short bear
#

I just launch Valheim the usual way, no mods, no anything. Newly downloaded. And ALL other settings remain.

#

Let me try again.

solemn cypress
#

This plist settings doesn't have anything to do with UGC privacy settings

#

So which settings don't reset for you?

short bear
#

Yeah, I know.

#

NONE, except for screen res and windowed.

#

This is just another thing I've noticed.

#

Yep. Just moved the preference file out of there and it does the exact same thing.

#

Screen rez changes to 1024x768 windowed and everything else stays the same.

#

The graphic settings are identical.

solemn cypress
#

And plist is the exact same spot as I mentioned?

short bear
#

I have jump mapped to lctrl.

solemn cypress
#

full filepath
~/Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist

short bear
#

Yes.

solemn cypress
#

Does that particular plist get removed when you deinstall the game from appstore?

#

Tested my jump, resets fine

short bear
#

I don't think that is supposed to ever happen. But let me try.

#

Nope, all my settings stay... 😛

#

But let me test...

solemn cypress
#

It should happen

#

App store should remove Valheim from container and all its settings upon uninstall of the app

#

Just tested again as well and confirmed

short bear
#

I don't even know how to uninstall from the App Store app.... 😛

#

Never tried it, I usually just delete the app.

#

Got it.

#

Ok, let me check...

#

It's gone!

#

Wow. That is easy.

#

Ok, let me try to reinstall.

#

I hope I don't to use Time Machine to get my characters and worlds back. 😄

#

have to use

#

Absolutely! It deletes everything!

#

And my settings are STILL the same!

solemn cypress
#

Omg, completely forgot AppStore doesn't have a Cloud

#

I'm so sorry, do you have a way to restore it via time machine?

short bear
#

Don't worry, at most I lost a day.

solemn cypress
#

Oh god, I sweat a bucket just now

#

Peculiar that your settings are still the same lol

short bear
#

I wouldn't have tried it without having a backup. 😉

solemn cypress
#

Must be some other plist somewhere that it is pulling

short bear
#

My thoughts... but where?

#

I used "find" in the Terminal, and I couldn't find anything.

#

find / -name "[Vv]alheim"

solemn cypress
#

How about in ~Library/Application Support/IronGate/Valheim ?

short bear
#

Yep, settings are still the same.

solemn cypress
#

There could have been a bug on earlier verisons that might have misplaces the plist file temporarily

short bear
#

But then I should be able to find it, right?

#

[18:18] ~ % find Library -name "valheim" 2> /dev/null
Library/Application Support/Steam/steamapps/common/Valheim/BepInEx/config/org.bepinex.valheim.displayinfo.cfg
Library/Application Support/Steam/steamapps/common/Valheim/valheim.app
Library/Application Support/Steam/steamapps/common/Valheim/valheim.app/Contents/Resources/Data/Managed/assembly_valheim.dll
Library/Saved Application State/com.coffeestain.valheim-steam.savedState
Library/Preferences/com.coffeestain.valheim-steam.plist
Library/Application Scripts/com.coffeestain.valheim
Library/HTTPStorages/com.coffeestain.valheim-steam
Library/Containers/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Application Support/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Saved Application State/com.coffeestain.valheim.savedState
Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist
Library/Containers/com.coffeestain.valheim/Data/Library/Application Scripts/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/HTTPStorages/com.coffeestain.valheim
Library/Containers/com.coffeestain.valheim/Data/Library/Caches/com.coffeestain.valheim
Library/Caches/com.coffeestain.valheim-steam

#

There's only one plist there.

#

And don't worry about bepinex, that's for the Steam version.

#

And the signs are of course still illegible.

solemn cypress
#

That's so weird
It might be a similar issue as one in the past where AppStore version couldn't be installed as long Steam version was existing, because both had the same bundle ID

short bear
#

😄

solemn cypress
#

Or it might be that your game somethow created additional settings file as it would be on Xbox

short bear
#

Really? Weird.

solemn cypress
#

Which would also explain UGC issue

short bear
#

But where and how is it named?

solemn cypress
#

Never saw a file structure on Xbox yet, so I wouldn't know. We can ask Love on Monday about it, he would probably know.

short bear
#

[18:26] ~ % find Library -name "[Vv]alheim.plist" 2> /dev/null
Library/Preferences/com.coffeestain.valheim-steam.plist
Library/Containers/com.coffeestain.valheim/Data/Library/Preferences/com.coffeestain.valheim.plist

#

Thank you and @hard fog again for your help.

#

It's really weird. I don't understand how this can work. The additional .plist must have a name that is not using the usual names.

#

And then the UGC issue as well... 😛

#

I now made double sure I removed both setting files. And it STILL can find its settings.

#

The Steam version COMPLETELY retains its settings! 😄

#

Even including the screen resolution.

#

Ok, bye folks! Thanks for trying to help. 🙂

solemn cypress
#

Weird, we'll see on monday what Love has to say

#

In meantime I guess you can try moving BepInEx, uninstall on Steam to see if that changes anything on AppStore?

#

my only lead would be that BepInEx sometimes messed with graphic settings on Windows as well

short bear
#

Ok, will try that. Thanks again!

hard fog
short bear
#

You guys have a good night and thank you very much!

#

Just wanted to let you know that removing BepInEx and libdoorstop.dylib didn't change anything, as expected. Both Steam Valheim and App Store Valheim retain their settings. And I still get the UGC thingy in App Store Valheim... 😛

turbid thorn
#

The macOS-level UGC setting is in System Settings / Screen Time / Restrictions: Content & Privacy
However, we've had users disable that in the past without impact on the App Store game's filtering decisions. Love was aware last time it was brought up, not sure where things stand.

hard fog
#

will check in with him on monday 🙂

turbid thorn
#

Cool deal. The Steam version just sets its own privileges. The App Store version would either need to or it would need to complete PlayFab login with a custom ID for the player or something like that.

turbid thorn
#

Fun little easter egg. In younger futhark, "ᚬᛏᛁᛚᛚᚴᛅᚾᚴᛚᛁᚴ" is phonetically "otillgänglig", svensk for unavailable 🙂

short bear
#

Good morning everybody and thanks again! That little easter egg makes sense to me. 😄

#

So, I think I found out what the "retain-settings" problem is. After turning my Mac off and back on (yes, THAT solution), Valheim lost all its settings and preset them with defaults. What I "think" is happening here is, that Valheim/Unity just reads the structure from main memory if the settings file isn't found and, if the settings aren't too outrageously different from what they should be, is ok with and applies them.

hard fog
#

🤔

short bear
#

Only if you turn off and restart your computer, does it really apply some default values to it. If Valheim is loaded always into the same memory region, then it will always see the same structure.

#

At least that's what I think it does.

solemn cypress
#

What about UGC issue?

short bear
#

Still the same. 😄

solemn cypress
#

And about controls, can you now change a keybind, and then close the game, delete original plist file, does the keybind reset?

hard fog
#

I've poked our Mac-master 🫡

short bear
#

Hehe, yes, I can change all settings (I could do that before as well), and my new settings are retained.

solemn cypress
#

So before, the changes that you made weren't even getting saved?

short bear
#

I did change the screen resolution and turned on full screen, because that were the only settings that were no longer valid, and it did retain those through closing and opening Valheim again.

#

After deleting the settings file and restarting the computer, all settings were reset.

#

By which I mean "turned off".

#

Not just a restart.

solemn cypress
#

I mean, before when you had the problem., I know that your settings couldn't be reset, but before, could you change a keybind in the game options and have it be saves when closing the game?

short bear
#

Well, again I didn't test keybindings, as they were all still intact. Just the screen resolution.

#

I know will test that theory again. I haven't started Valheim today, but I did delete the settings file. I will now start VAlheim.

solemn cypress
#

Seems to me like some kind of caching issue on Mac

short bear
#

Yes! That did it! All settings are now gone.

solemn cypress
#

Would be worth wiping some cache files next time we see this happen

hard fog
#

@short bear did you use Bepinex at some point btw on mac? 🤔

short bear
#

Not on the App store version, as it doesn't work there.

#

Or rather didn't.

#

Haven't tried it yet.

hard fog
#

tho if you have valheim on mac on both appstore and steam

#

doesn't those 2 install in the same folder? or share files?

short bear
#

And I religiously delete folders. And no, they don't.

hard fog
#

you delete both 2 places valheim installs?

short bear
#

Yes.

hard fog
#

Hm.. ok

short bear
#

BepInEx is out of the woods. It's completely innocent.

#

Steam Valheim is at ~/Library/Application Settings/Steam/steamapps/common/

#

App Store Valheim is at /Applications

hard fog
#

and worlds / characters?

short bear
#

Are different as well.

hard fog
#

Hm.. ok

short bear
#

Steam Valheim stores it at ~/Library/Application Settings/IronGate/Valheim.

#

App Store Valheim stores it at ~/Library/Containers/Data/Library/Application Settings/com.coffeestain.valheim

hard fog
#

good good. just as it should

short bear
#

Yep.

#

I have soft links to characters_local and worlds_local so Steam Valheim can use the same world and characters.

#

Works like a charm.

#

Settings files are also stored different.

solemn cypress
#

@short bear on which Mac device is this happening?

short bear
#

It's a Mac mini M2 Pro Sonoma 15.2.

#

16GB RAM

#

And just tested it again, UGC is still in effect on the App Store version.

manic parcel
#

Heyo! Just got caught up reading through everything. I was pretty sure that the UGC text stuff was due to you not signing in to Game Center. Right now it's a prerequisite for setting up privilege management, including viewing text, so if you don't sign in, the system doesn't know if you're allowed to view text, so to be safe (and compliant on xbox) it defaults to not letting you see anything. (This is something we probably want to alter since it does kinda force you to at least be online, like you mentioned).

However, since signing in to Game Center didn't seem to fix it for you, it's probably something else! In any case, thanks for making us aware of it, we'll try to have that fixed 😄

short bear
#

Thank you, Love!

#

I really appreciate yours all help. You guys are still the best. 🙂

#

And if you ever decide to bring out a GOG version, I will buy that one again as well. 😄

#

Oh, and let me try signing in to Game Center again, just to make absolute sure.

solemn cypress
#

Probably restart Mac after also XD

short bear
#

😄

#

Will do. See ya in a minute 👋

#

Wow! Didn't expect that. I can now read the signs. So it IS Game Center... 😛

#

Not sure why it didn't work the first time.

turbid thorn
#

Nice. That's good to know

short bear
#

Yes, at least your theory was right and we have firm standing ground.

#

Ok, I'll leave you folks to it. See ya! 👋

solemn cypress
#

Great, thanks for testing things as well

sonic seal
#

Are there any known differences in smoke behaviour between Mac and PC versions? I have a two-storey building with a hearth on the ground floor and a second one directly above it. I understand that smoke should pass through the second hearth, but I could not get it to do that in my game on my Mac. Then I migrated to PC and the same structure now passes smoke through the higher hearth correctly.

hard fog
manic parcel
solemn cypress
#

Some players propagated this myth in the beginning.
The real reason their top hearth didn't coke the one bellow was due to being high enough.

#

You can see how smoke works on Hearth even on pre-Mistlands build, where it's quite clear the Hearth stopped the smoke even back then.

sonic seal
#

Never mind, it worked for a day and now it's smoking again. Whatever the problem is, it's not related to the difference in game versions.

#

User error of some kind, I'm sure.

turbid thorn
#

I sometimes have an issue where the height difference between terrain and structures changes from session to session and I have no good explanation.

polar fog
turbid thorn
#

Sure thing. Will do soon

mossy ivy
#

Hi guys whenever I start valheim I just get a black screen and it stays like that until I quit it myself. I'm on a mid-2011 iMac 12,1 running high sierra (10.13.6). All my specs pretty much match the minimum requirements on steam other than the RAM (4gb instead of 8) but I've played valheim before in bootcamp and it runs fine on lower settings.

Player log ends with "This custom render path shader needs to have at least 1 passes." being repeated for thousands of lines and ends when I quit the game.

Anyone have any clue? I can send more of the player log above that loop lmk if needed, but didn't want to spam the chat

turbid thorn
# mossy ivy Hi guys whenever I start valheim I just get a black screen and it stays like tha...

Hmm, that GPU might have been just a couple months before the Metal 2 cut-off.
Can you try:

open -a ~/'Library/Application Support/Steam/steamapps/common/Valheim/Valheim.app' --args -force-glcore
``` if on Steam or
```sh
open -a Valheim.app --args -force-glcore
``` if on the Apple App Store version?
I don't even know if the macOS version ships with glcore shaders at the moment. It may not do anything useful, but doesn't hurt to try.
#

If that doesn't help, feel free to attach Player.log here (you can redact IP addresses and steam IDs if you want)

mossy ivy
turbid thorn
mossy ivy
turbid thorn
# mossy ivy player.log from trying to start in steam normally and player-prev was from tryin...

Thanks. That provides some good information. I don't know about the Apple.Core Plug-In issue in your first player log, but I think I'm right about your hardware. Your model was just a couple months before Metal 2 support landed and I'm guessing it doesn't have a Metal 2 runtime/compiler for your GPU. I'm sad that the macOS version doesn't ship with the glcore shaders.

You have some old mac hardware by gaming standards. The only thing I can think of is to do what we all used to do and build your own macOS version using the glcore shaders from the Linux version. Coffee Stain has publishing rights, so I can't legally ship a build to you, but I can point you to how to do it yourself. It takes just a little bit of tedium if you're willing to put in the effort.

manic parcel
# mossy ivy Hi guys whenever I start valheim I just get a black screen and it stays like tha...

I think Justin Arthur is right on the money. Looks like the earliest iMacs with Metal support came out in 2012.

I think it would be possible to support glCore as well, it's just not been included in builds up until now. The only issue is that we do not have such old hardware at the office, so at the moment we can't test it.

But in the next update we can try including the openGL Core API as well, and if we do that and you run the game with the --force-glcore command, it should theoretically work.

And for the sake of interest - turns out that the Apple.Core plugin stuff is because Apple's plugins do not support version of MacOS earlier than 10.15, which means future versions of the AppStore version of the game will require 10.15 at least. Although Steam versions do not depend on it, so they can stay on 10.13 for now.

turbid thorn
#

Nice, thanks, Love. That all makes sense. The Metal shaders have worked really well as far as I can tell and I suspect the audience for glcore on mac will be small/niche, but will certainly be nice to have the option.

manic parcel
restive sigil
#

Curious if the pink fallback shader would pop up for those shield generators like it did when using the Linux opengl shaders. Or whether Unity will address that automatically

turbid thorn
#

Was just thinking bout ya, Tim. I should fire up your script and see how things look on the gl side these days. That script was the reason I bought Valheim in the first place. I don't think I witnessed the shield-gen issue. Do you think the shader used a new routine unsupported by Apple's opengl lib?

#

(or was this an issue on Linux as well?)

restive sigil
#

Yeah, if I recall correctly the ‘Shader Hidden/ShieldDomePass’ shader was tagged as version 420 or higher (macOS capping out at GL 4.1)

mossy ivy
#

Thanks for your help guys

mossy ivy
turbid thorn
# mossy ivy If you could point me where to do that, that would be great

Sure. I'd start with Tim's script. You can follow these build steps:
https://github.com/timkurvers/valheim-macos?tab=readme-ov-file#building
but stop before running build.sh. Because the script is no longer updated, you'll need to update it yourself.

If you look at the beginning of build.sh, you'll see see a bunch of variables set up under # Stable. You'll want to fill in the buildid and manifestid for the latest Linux depot build of Valheim. You can get a hint for those here: https://steamdb.info/depot/892971/

You'll also want to update the Unity version to what's currently in use, which I believe to be 2022.3.50f1.

If you don't have the patience to download those files and find out their new hashes for the script, you can consider commenting out the verify … lines in there.

#

You won't get official support for a build made this way, but if it happens to work on your hardware, that would be good feedback for the Iron Gate and Piktiv devs in here, who might be able to bake in those OpenGL shaders for an upcoming official macOS release.

#

Oh yes, and despite this being a plain .app you can put anywhere and start, you'll need Steam running in order for the app to fully launch.

mossy ivy
turbid thorn
mossy ivy
turbid thorn
#

You can try running the inner binary manually in a terminal to see if it gives any meaningful output:

./Valheim.app/Contents/MacOS/Valheim

if the prior builds had failures, you might also consider deleting the previously built .app and starting fresh.

mossy ivy
#

also everytime it failed I just deleted the entire folder and cloned again so idk

turbid thorn
#

Alright. That params dump is normal, but obviously we want it to get further. I'll DM for diving deep.

mossy ivy
#

Justin is a legend we managed to get it working. Performance-wise though it is pretty bad. I have to turn down all graphics sliders to the absolute lowest and run it at 720p with 50% res scaling and it still only manages ~17 fps average. For those of you who somehow still have an ancient mac like mine, it would probably be better to just install windows through bootcamp and run valheim there. From what I remember the last time I tried it that way, I managed to get closer to 40 fps at pretty low settings at 720p closer to 100% res scaling which was much more playable.

#

I will reinstall windows again tomorrow and check the performance and let you know

#

thanks to Justin and Love you were great help!

#

Oh also just to note, playfab wouldn’t work for me

solemn cypress
mossy ivy
mossy ivy
#

Nah better than the Mac build

hard fog
#

try running Vulcan over DirectX and see

#

also. install full DirectX, not just the Light version

sleek idol
#

Does anyone know how to install bepinex on mac? I'm running a dedicated server with dathost and want to install 1 mod, World of Valheim SSC.

turbid thorn
# sleek idol Does anyone know how to install bepinex on mac? I'm running a dedicated server w...

A few of us do it. You might start here:
https://steamcommunity.com/sharedfiles/filedetails/?id=3269574338
and hit up #mods-issues if you run into trouble.

Alternatively, my more shell-oriented version:
#mac-bugs-discussion message but note you'd still need to install Rosetta 2 and add arch -x86_64 ./run_bepinex.sh… if you're on an arm64 Mac.

And note the mod you pointed to also requires a server installation I'd guess

hazy sorrel
#

Hey, I need some help. A couple times now, my FPS has suddenly crawled to halt and the save becomes unplayable. I can load into a different world or restore a backup and the game will run normally again. The first time it happened, I could no longer load the save at all. This second time, I can still load it up but it's unplayable. Both times it happened while I was just exploring. What could be causing this? I play modded on Mac.

turbid thorn
hazy sorrel
# turbid thorn I don't know of any cumulative performance degradation bugs specific to the macO...

It's a M1 laptop and I'm using a high wattage adapter I believe. But again, it's only on that specific save. I can go into a new world or load up a backup where I'm standing in the same place, and it'll run totally fine. I was able to move my character away from the location and the game started running a bit better, but still a pretty unplayable 15 FPS or so, but not the 1 FPS I was getting before. Mods are kinda important to me, and I don't think I can even load into my world without them.

turbid thorn
#

If you can reproduce the bug by loading this save even after the laptop has cooled/restarted, it could be the item corruption bug. I've been trying to learn more about it myself. MarCaBre has a summary here:
#steam-bugs-discussion message

hazy sorrel
#

Hm, maybe I'll give the laptop a rest and try tomorrow. It's late for me anyway. Appreciate the help.

manic parcel
# mossy ivy Justin is a legend we managed to get it working. Performance-wise though it is p...

So earlier in this channel we discussed including openGL core as an optional rendering API for the game to use, but ran into several crashes and graphics bugs. E.g. changing render scale sometimes caused the game to crash, and the shader for shield generators did not work at all (giant pink texture).

Since this change would require quite a bit of work from our side, we will discuss this with Iron Gate next week to see if it's something they want us to do.

tough vector
#

Is there a way to mod valheim on mac?

solemn cypress
tough vector
#

o bepinex

#

Used that for subnatuica I think

hard fog
sleek idol
tough vector
hard fog
#

this channel is for Vanilla issues

manic parcel
turbid thorn
#

Good to have an answer either way. Thanks for digging in!

manic parcel
#

Sure, no problem! I will add that this isn't a final "nail in the coffin", if it turns out there are more than just a handful of people who would benefit from it, we may re-evaluate. But right now, the amount of work necessary to get it to a state we feel comfortable releasing is too much for the amount of players who would benefit from it.

arctic osprey
#

Is there a difference between the Steam version and Mac App Store version?

turbid thorn
# arctic osprey Is there a difference between the Steam version and Mac App Store version?

Gameplay and graphics are the same. There are what I'd call mechanical differences between the two. The biggest one for me is connectivity. The Apple App Store version uses Microsoft Azure PlayFab Party relays to connect between players and servers, wheras the Steam version lets you connect through those relays and allows direct (fast) communication with servers that support it.

arctic osprey
manic parcel
# arctic osprey Is there a difference between the Steam version and Mac App Store version?

A couple:

  • a big difference is that currently the Mac AppStore version lacks cloud saves.
  • Another is that using mods is possible on Steam, afaik it's not on the Mac AppStore version.
  • Third is that the Mac AppStore version comes bundled with a server application, which increases the filesize of the download
    Also what Justin Arthur is exactly true. Gameplay, graphics, and performance are the same. If you play with only Steam users, you can choose to not use the cross-play backend, which may lead to better network performance overall.
#

So yeah, basically no reason to get the AppStore version if you already have it on Steam.

turbid thorn
#

Love, did the com.apple.security.cs.allow-dyld-environment-variables entitlement get added to the Apple App Store signatures at the same time as the Steam build? If so, it's possible mods work on it now. I haven't had time to follow up and try.

manic parcel
muted quiver
#

Iv tried telling my friend to disable crossplay so better performance but the server just dosent show up when crossplay is disabled

solemn cypress
muted quiver
#

But I still have to use crossplay if the other person is using windows

solemn cypress
solemn cypress
muted quiver
#

Lemme test it out again

#

Cuz disabling crossplay makes performance so much better😭

hard fog
muted quiver
#

Its weird I cant connect to ppl on steam without crossplay enabled😂

solemn cypress
thorny burrow
#

on mac cant find server trying to go online for first time how do i see servers its all blank

turbid thorn
hard fog
#

all servers are hosted by players and they are all password protected

echo imp
#

i have the strem version on mac - is there any possibility to use mods ? is starting to be very had to find serwers with out mods. do im bann to play alone ?

turbid thorn
hard fog
#

but all of them are run by individuals so need to find the owner sadly to join a server

turbid thorn
turbid thorn
#

I'm getting a security violation trying to launch the game on arm64 macOS using today's public branch Steam release. false alarm

turbid thorn
#

Steam

#

n/m, the security violation was me.

solemn cypress
turbid thorn
#

I had the .app opened in JetBrains Rider, so it had the .idea folder created and such in there. Wouldn't have been a problem except Steam replaced the .app contents but left in the .idea dir and today's new binaries hadn't been checked by Gatekeeper yet. When they were checked, there were clearly files not signed by Coffee Stain in there.

queen crater
#

Hey i Just wanted to ask If questions regarding optimasation are okay in this Channel or If i should ask elsewehre :P

spiral halo
#

Well, are you reporting a Mac bug?

queen crater
#

No was just asking for advice in regards to optimise an low Speck Mac

#

or if anyone knows a good guide etc.

manic parcel
velvet sky
#

you can also lower the resolution

latent epoch
weak condor
#

Hey guys, trying to get a dedi valheim server going on an old mac mini M1 (arm64)
I tried severeal things

Docker, Linuxgsm, installing linux directly and then running the previous steps etc
They all stop at this error

steam@ec66b803c7f1:~/steamcmd$ ./steamcmd.sh +login anonymous +force_install_dir valheimserver/ +app_update 896660 validate +exit 
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[  0%] Checking for available updates...
[----] Verifying installation...
UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1738027521
-- type 'quit' to exit --
Loading Steam API...IPC function call IClientUtils::GetSteamRealm took too long: 162 msec
Fatal error: futex robust_list not initialized by pthreads
./steamcmd.sh: line 76:    80 Segmentation fault      $DEBUGGER "$STEAMEXE" "$@"

help would be appreciated.

turbid thorn
weak condor
#

where can I get the native server and will it work with other x86 clients on the network?

turbid thorn
#

You can get it right from the desktop Steam app's Library view (add Tools to your filter) or you can download the macOS version of SteamCMD if you're in a headless scenario

weak condor
#

OK going to try

turbid thorn
#

It will work with other x86_64 and arm64 clients on the network.

Note there's a Unity bug that currently prevents the macOS dedicated server from performing a world save automatically on shutdown, which is annoying. You will need to either perform a manual save before shutdown or wait for a regular save interval to pass in order to safely shut it down.

weak condor
#

i dont know where the logs are

turbid thorn
#

It logs to stdout/stderr, so you could start it inside an Apple Terminal or 3rd party terminal like iTerm2. You can also supply a -logFile <path name> argument to save logs to a file on disk (note it will overwrite on a new session)

weak condor
#

The native macOS steamCMD works!!

#

Brother you just saved me from buying a mini pc just for this game server

#

🍻

turbid thorn
manic parcel
turbid thorn
#

That's great news. Thanks for the update, @manic parcel

civic hill
solemn cypress
# civic hill

Which Mac device do you have? Try adding Valheim to Input monitoring in MacOS Settings → Privacy & Security → Input monitoring → Add Valheim app (this usually helps controllers that can act as both gamepad and keyboard). After you do that, shutdown your device completely and turn it back on (not restarting, but shutdown).

civic hill
solemn cypress
civic hill
solemn cypress
civic hill
civic hill
solemn cypress
turbid thorn
civic hill
solemn cypress
civic hill
civic hill
solemn cypress
turbid thorn
#

Hah, everyone about to answer at once. It's bundled within actually, but the Steam version is definitely my favorite of the two

manic parcel
# civic hill There doesn't seem to be dedicated server app available for users from the App s...

So here's the third answer 😂 There is actually, it's just a little hard to find. It's bundled with the .app, so if you right click on Valheim.app -> show package contents, then navigate to Contents/Resources/Server, there should be a .command file called start_server.command which you can use to start a dedicated server. However, like Macarbre said, it's harder to configure than the steam version. So I would also recommend the Steam version in this case.

civic hill
#

Thank u for everything! Why u guys are so kind haha 🫰

civic hill
hard fog
solemn cypress
#

Then you can google for some guide on how to install Valheim dedicated server app with it.
Can't recommend any particular guide. Don't know which ones are good.

queen crater
#

Hey Hey also a questions regarding the use of Switch joycons as a Controller for Valheim via Steam. I connected them in Steam and used them them in Big picture Mode to start the Game. As soon as it starts the game doesnt reconize the controller. Any Idea why this is the case?

solemn cypress
#

First enable input monitoring and try that. If it doesn't work, try changing input modes.

queen crater
#

Thanks :D

solemn cypress
onyx fractal
#

Looking for Mac+controllers help: I'm running Valheim on Mac + Steam and trying to get a PS5 controller to work with modifications via Steam Input or similar. Basically I want to turn on chording of various controller buttons to correspond to the 1-8 keys. So far I haven't been able to get it working: the PS5 controller works but Valheim ignores the Steam Input modifications. Anybody got this working? Thanks!

upper temple
#

Im looking for help. My Valheim game keeps freezing and crashing and i cant find the reason why.

upper temple
#

And every time i lose all the resources i have collected and everything i have crafted.

#

No. no mods

hard fog
#

Hm.. sounds like it crashes and doesn't save 🤔

#

do you play the steam on mac version, or the appstore version?

upper temple
#

Steam version.

hard fog
#

Hm.. maybe some issues with steam cloud?

upper temple
#

I don`t have any problems with other games from steam.

solemn cypress
upper temple
#

Im not on a mac its a PC

hard fog
#

oh. you wrote in the Mac help channel 😬

upper temple
#

ok but there is no PC Channel sow i tryed in here.

hard fog
#

if it's PC

upper temple
#

ok thank you.

hard fog
#

it's mostly for us so we know the platform the issue are on.
alot of the issues are platform specfic

atomic hemlock
#

Have people had a bug where the game just crashes and freezes when you save im on mac steam btw

solemn cypress
#

On which device are you playing? Which MacOS? Steam or AppStore?

atomic hemlock
#

Im on steam

solemn cypress
#

Do you crash every time you manually press SAVE button in pause menu?

atomic hemlock
solemn cypress
# atomic hemlock Im on an m1 MacBook pro with 8gb of ram so thats probably a factor here and the ...

The most crash reports do happen on M1s for some reason. It's still being investigated.
Let me know if you notice any change after doing the following:

  • Shutdown your device completely (no restart, but shutdown) and then turn it back on
  • Enable Steam FPS overlay in general Steam settings → In game tab and then monitor what's happening with your FPS during saving, when being in menus, etc..
  • Before loading into your world, access manage saves menu, select your character main save and move it from Cloud to Local, then do the same for world save
atomic hemlock
loud pumice
#

Hi! I'm playing on a dedicated server, my client is macOS, a friends Linux. On our dedicated, there are some things not spawning: Frost Caves, Queen-Dungeons and Charred Ruins (as fasr as I know). Loading the world in single-player on my Mac has everything missing, loading the same(!) world in singleplayer on the Linux-PC has everything spawning at the correct location.

#

Re-uploading the world from the Linux-PC to the dedicated has everything spawned at the correct locations - at least on explored areas.

#

any idea if this could be a mac issue or if some strange forces are at play?

solemn cypress
loud pumice
#

After searching for a long time I looked at Valheim-map.world. Often I would find strange rock formations or unusually steep or flat areas instead of the dungeons

#

Not sure for the ashlands though. As I have never played them before I can‘t really say if anything looks out of place.

solemn cypress
#

If you want to check where you locations are, you either have to upload your world there or use console commands to find location in your world

loud pumice
#

The terrain totally changed with the same .db and .fwl on Linux-SinglePlayer. Some portals were now in the middle of a mountain for example

#

I did upload my world. And the world was generated recently. We started a new playthrough

solemn cypress
loud pumice
#

How is this possible? Same files on dedicated (with Mac client) and on Mac in single-player show nothing. Giving the files to a friend, he sees dungeons and mountains in single-player

#

Saving this world on his Pc and re-uploading to server has them magically appear on dedicated for all clients. But this seems to work only for already explored areas

solemn cypress
# loud pumice How is this possible? Same files on dedicated (with Mac client) and on Mac in si...

It's not possible. What you've have done is messed up your world files by loading mismatching world.db with mistmatching world.fwl files. This mismatching can also often happen on dedicated servers for variety of reasons, like shutting down a server while saving process in progress...
Probably nothing has magically appeared for your clients, espetially if you have portals now inside mountains. What you done is corrupted your world save file my loading a different .fwl file and matching with with your world.db file, which result in mismatching terrain levels.

loud pumice
loud pumice
solemn cypress
#

What you should do, is pull an older backup of your world, both world.db and world.fwl files that have a matching timestamp, from some of your dedicated server autobackup files. These files look like, worldname-auto_backup-timestamp.db and worldname-auto_backup-timestamp.fwl. You then either re-name those files to worldname.db and worldname.fwl and upload them to the site you mentioned to check where locations are, or you run them in singleplayer and check where locations are via devcommands. Your current world files (main files which are currently named worldname.db and worldname.fwl are mismatched).

loud pumice
#

The corrupted files get repaired if opened in single-player? Because it started working after that

solemn cypress
#

How did you setup this dedicated server on your mac?

loud pumice
#

The dedicated started showing the locations after we re-uploaded the worlds because we started tinkering after we could not find the damn things

solemn cypress
#

Running it via Steam, SteamCMD, AppStore?

loud pumice
#

Setup on a bare-metal with Ubuntu, docker and the container from lloesche

#

I think that uses steamcmd

solemn cypress
loud pumice
#

It’s pre-modded? That’s news to me. Damn!

#

I disabled all mods

#

(At least I thought that)

solemn cypress
# loud pumice It’s pre-modded? That’s news to me. Damn!

Yeah, but we can't give support here for modded content. That why you can find other #mods-issues #dedicated-server channels here where you can ask more specific questions. When it comes to vanilla game, you should check if a newly created world on your Mac has all locations (by e.g. using console command "find Hildir_cave 3").

You can also run a free dedicated server app on Steam, connect a singleplayer world (same world in singleplayer, while the dedicated server is running on the same world in background on same mac device), then you go the singleplayer world first, find and teleport to a location, then you logout and connect to a server, and you should find your self on the same spot in the world. You should find yourself next to the same location.

loud pumice
#

sorry for the noise. I‘ll setup a new server and see if the problem persists.

solemn cypress
#

For your current server, you will most likely have to restore an older backup like I suggested, load it in singleplayer, and run then run genloc command in singleplayer to add location that might be missing (will only touch unvisited locations).

loud pumice
#

I was under the impression that I’m running vanilla

loud pumice
turbid thorn
#

It should be. Note for macOS Valheim, the Steam version has thus far been easier to mod than the Apple App Store version. Also note that if you're running Valheim Dedicated Server, many mods will require the server to be modded too. If you run into trouble, you can ask in #mods-issues.

midnight finch
hard fog
#

yeah. he spammed in multiple channels. and we do not solve mod issues.
only chance is in #mods-issues

midnight finch
hard fog
#

mods are 100% players own issue(s) and we only can try to help users remove mods
but it's not out responsibility

#

If someones modifies our files, it's not something we can do much about. or help out with 😦

#

same with hardware issues. we can only advice, but it's not something we have much power over

nocturne sparrow
#

Hi there. Patch 0.220.5 is not yet availlabile on Mac App Store, right ?

turbid thorn
turbid thorn
#

I wanted to follow up here on a strange issue I've been tracking where you can get a "Failed to connect" dialog and RPC connect timeout in the logs trying to connect to a LAN IP from favorites or recents following a Valheim upgrade from Steam. I only encounter it in x86_64 macOS and never see it on an arm64 macOS laptop.

Because no UDP traffic or ARP request shows up in the kernel network traffic, I'm thinking it's policy-related. Dropping and re-adding Valheim's Settings/Privacy & Security/Local Network permission appears to work around the issue.

turbid thorn
#

Nope, certainly LAN connectivity wouldn't work at all with Crossplay.

#

I'm still investigating. As far as I know, I'm the only in here who's reported it so it's possible it's specific to the environment on this Mac.

hard fog
#

indeed. crossplay only works on outside IP's

frozen ingot
#

Does anyone know if there are issues with cross play between consoles/PC and mac?? I'm trying start up a huge project and I'm trying to make it as inclusive as possible

frozen ingot
#

Perfect!!!

slow mural
#

Anyone know of a bug fix for Mac/pc cross play? We basically do a LAN party, all on the same network, one of us on a desktop PC one on a gaming laptop and one on a Mac. Always works no issues with us we haven’t played in about a week. I run the server off of the desktop PC and tonight the Mac kept connecting and then giving the top left flashing icon with the connection issues. Tried the firewall, IP tracking, forget network, restarted everything, restarted the network, verified the files, steam update, pc and Mac updates, DNS codes..pretty much everything, the Mac was updated to Sequoia 15.4 between last Saturday when we played and tonight, and the windows gaming laptop had no issue connecting..we think maybe it has something to do with the most recent Mac update but can’t confirm that as of now

turbid thorn
# slow mural Anyone know of a bug fix for Mac/pc cross play? We basically do a LAN party, all...

I don't know of Mac-specific issues with connectivity after a connection has been established. Is the Mac user using the Steam-delivered version of Valheim? If so, you might consider dropping Crossplay and have everyone connect directly over the LAN to the server. You'd use the server's LAN IP (e.g. 192.168…) when connecting from the game. Crossplay introduces more hops for the server and all players and it leads to reduced speed/reliability. The direct connection model is only possible on the Steam versions of the game and server at the moment.

As for theories as to why the Mac user was having issues:

  • They could have had VPN software or a security suite running.
  • They might have been on Wi-fi when other players weren't or they were on an inferior SSID (e.g. 5 GHz but behind a wall or on 2.4 when the others were on 5 GHz).
  • If using Crossplay, your upstream bandwidth to your ISP might have been saturated. Security cameras, bittorrent, streaming to Twitch, Crossplay, all consume upstream bandwidth, and that's often a lower pipe than downstream for your average residential ISP.
hard fog
#

and issues are probably what Justin already mentioned 🤔

slow mural
#

Thanks guys, we just disabled crossplay and were able to connect no problem..appreciate it!

quiet peak
#

hello, has anyone been able to open console on mac? My f5 doesn't work

turbid thorn
quiet peak
#

I'm using steam. It's not a single player game though, playing on a friends server

turbid thorn
quiet peak
#

nvm got it working, needed to open through terminal

turbid thorn
#

Sure, that'll work

quiet peak
#

think I did two dashes for the launch options

#

thanks!

turbid thorn
#

Ah, yeah, Unity and Source games are all about the single hyphen

unkempt burrow
#

i am sure someone has asked this before but I am trying to find out what my player ID would be for playing on mac with the game purchased from the app store not Steam or Xbox gamepass. I am trying to play on some public servers, and although i can add the servers, i can't find my player ID to put on the whitelist so i can actually play. Any help would be greatly appreciated.

turbid thorn
leaden crater
#

I use Fn+F5 to open console on Mac

hard fog
leaden crater
#

I use fn + f2 for that

hard fog
#

correct 🙂

#

that's the pretty much only way to find someones player ID in valheim

#

specially for apple and Xbox

worthy chasm
#

Im on macos, with vysnc turned off. Yet on my external 1080p capped at 120 and capped at 75. On native screen capped at 120. Any explanation? Thanks. Not sure why its stuck on vsync when I have it off and fps unlimited

worthy chasm
#

When running on geforce now it doesnt cap it

turbid thorn
solemn cypress
#

And when you run GeforceNow on external monitor, FPS is not capped at 75 on the external monitor?

worthy chasm
#

I fixed it somehow. I guess by turning off steam overlay. And after opening it again after geforce now and setting it to unlimited there as well. must of been an interference somehow

worthy chasm
#

you know its actually the steam overlay counter doesnt read anything over your monitors max rate ig

turbid thorn
limpid forge
#

Hi all

#

We have a server on valhost playing on PC via Steam. I have a friend that wants to play with us, he is on Mac and he bought the game on Apple store.

#

A few days ago, he managed to go to "Join Community", found our server, entered the password and it worked well.

#

Today, he did the same but then he got the message that he needed to "Log in with PlayFab"

#

We don't know what to do and why it worked a few days ago and it doesn't now

#

Can anyone help please ?

hard fog
#

Hm.. wierd 🤔

#

in settings, gameplay tab, there is a playfab activation button if someone clicks the "delete playfab account"

#

or possibly your friend blocked playfab services

limpid forge
#

Yes we tried but it said that he wasn't logged in PlayFab

limpid forge
hard fog
#

@turbid thorn got any ideas?

limpid forge
#

FYI I wrote to the valhost support that told me that they couldn't help, as long as the server has the cross play activated (and it is of course) they don't know and they sent me here 🙂

hard fog
#

only things I can see are people previously who had the same problem maybe had some issues with their internet service provider blocking crossplay

#

could also be VPN related 🤔

limpid forge
#

he doesn't have a VPN

#

Anyway, thanks for your help

#

We want to try to create a server in the game, so not a server through valhost, and see if he can join. If it works then it means the problem comes from our server on valhost.

#

And maybe if he were playing though Steam, it would be different ? Is it possible to migrate the game on Steam even if he bought it on Apple store ?

hard fog
#

migration isn't possible sadly

#

I would assume if he bought it on steam, it's on all versions of steam tho

#

but all our versions and platforms all support crossplay

#

steam supports both Steam networking API and crossplay

limpid forge
#

ok. but he managed to join the other day so it should be possible to do it again 🙂

#

If anyone has an idea, please let me know. Thanks

hard fog
#

does he use WIFI or mobile hot spot internet?

turbid thorn
#

@limpid forge sorry that's happening. One note is that they might need to be signed in to Apple Game Center to be able to connect to a Crossplay game. They can see if they are under System Settings / Game Center. If they had recently upgraded the OS, they might be needing to sign in again. Once @manic parcel is back, they might have some clarity on if this is required.

If that's not it and the player is up for digging deeper, it would be nice to have a copy of their Player.log file. You (or they) could attach it to a post here. They are welcome to redact personal IP addresses or any other info they deem private before attaching. It can be located by opening a Finder window, pressing +Shift+G, and pasting ~/Library/Containers/com.coffeestain.valheim/Data/Library/Logs/IronGate/Valheim to quickly navigate to the logs directory.

hard fog
turbid thorn
#

x_x hah, sorry for the midnight ping then, Love!

hard fog
#

but yeah. could be they need to login on appstore / game center 🤔

#

same on PC if you have steam, and don't have steam logged in

turbid thorn
#

To follow on from Smiffe's notes on Steam, if the macOS player has Steam and all other players are already using the Steam version, it can certainly be advantageous to not have to use Crossplay. While there's no migration possible for the App Store license, the Steam version is on sale for 50% off for many territories on IGN's Humble Bundle: https://www.humblebundle.com/store/valheim

You'd have to ensure this hosting provider will safely persist your world files if you were to change the config to disable Crossplay. You'd likely want to back up the world files (.db and .fwl) from them before such a change, regardless.

hard fog
#

@turbid thorn when I search that exact issue on discord, the only user who had somewhat of a lead, said ISP

turbid thorn
#

Interesting!

hard fog
#

this

turbid thorn
#

Yeah, looking at the App Store version's PlayFab logic, it looks like that will trigger if either of these happens:

  • Player is not logged in to Apple Game Center
  • Valheim unable to reach https://6e223.playfabapi.com/…(e.g. blocked by ISP, firewall, DNS proxy/Pi hole, etc)
hard fog
#

@limpid forge

#

make sure your friend is logged in ^

manic parcel
#

Don't worry about the midnight ping, I only use this account at work anyway :). But yes, you do need to be signed in to Game Center for any online functionality to work.

I have prepared an update that will adress this and make it crystal clear that it's the fault of Game Center rather than a generic network error message, so hopefully this will be more clear in the future. If that isn't the cause of the issue, then sharing the player.log file as Justin Arthur detailed above would be very helpful 🙂

limpid forge
#

Hey all, thanks a lot for your help and feedback

#

I will share this with my friend and let you know

#

What is weird is why he would have been logged out yesterday and not when it worked. But anyway I let you know. Thanks again.

limpid forge
manic parcel
raw dirge
#

i am trying to make myself an admin on my mac os dedicated server, i tried using the game id on the admins.txt file and i am still getting you're not an admin error.

turbid thorn
raw dirge
#

i am using the apple app store version, yes it's adminlist.txt (/Users/user/Library/Containers/com.coffeestain.valheim/Data/Library/Application Support/com.coffeestain.valheim)

turbid thorn
raw dirge
#

it started with an underscore from the f2. I added GameCenter_ and i get the same thing.

turbid thorn
#

I personally recommend having your server's console or logs up and just connect to your server. You'll get a copy+pastable version of the ID in a log line like:

PlayFab socket with remote ID playfab/… received local Platform ID GameCenter_?:_…
turbid thorn
#

GameCenter_A:_bf

#

The Players list might break it into more than one line, but it's a single string with no line break.

raw dirge
#

Ah. I have to head to bed. I’ll try it tomorrow. Thank you so much!

turbid thorn
#

Sure thing. Have a good night

raw dirge
#

@turbid thorn your suggestion was just the fix i needed. Thank you!

turbid thorn
#

You're very welcome! In the meantime, be careful with the macOS Dedicated Server once you really start playing. It doesn't save the world state on shut down. You will want to wait for the save interval to pass or manually trigger a save before shutting it down.
(a fix is on the way)

raw dirge
#

sounds good!

#

I am trying to dev commands and I am getting "is not valid in the current context"

solemn cypress
#

You can use devcommands like skiptime and those that set world modifiers.

raw dirge
turbid thorn
#

The more popular mod for enabling more dev commands when connected to a dedicated server is actually a client-side mod.

Sadly, I don't think it's feasible for you at the moment either way. The App Store version is not signed in a way that enables modding. It may change in the future, we'll see.

raw dirge
#

That's unfortunate, Alright. Thank you!

short bear
#

Hey guys, just wanted to let you know of a weird bug I encountered in both Steam and App-Store Valheim.

#

When I press Ctrl-F3 or Cmd-F3 it won't toggle the HUD. Nothing happens.

#

Found it... 😛 It's a stupid keyboard shortcut in MacOS. I had to turn it off. It puts the focus on the dock. Now it works.

velvet sky
#

Any mac players wanna play together?

#

And btw how does valheim run on mac for u guys?

spiral halo
velvet sky
#

Ohh I didn't notice lol

#

Ty for telling

turbid thorn
earnest trail
#

this is the first time i've run Valheim (Steam) natively on a Mac... AND the first time i've had a 'hiDPI' screen. i'm having serious problems here - delayed input from keyboard, key commands "sticking" so i keep running, and stuttering

#

i feel like i'm doing something wrong....

#

Macbook Pro M1

turbid thorn
# earnest trail Macbook Pro M1

Do you have it on the higher-wattage Apple AC/DC adapter? Also the M1 Pro is old enough where you might still want to run the game at a lower res and have it scale vs going native

#

And how much RAM was this MBP configured with? Made sure you don't see swap usage in Activity Monitor?

turbid thorn
#

If you have any of the keyboard issues outside of the game, you might also want to look for visual signs of the "spicy pillow" effect below the keyboard

earnest trail
#

it's a 16GB 2021 MBP model (14"). I'm using a 60w power adapter.

#

i quit several programs (mostly programming tools) as well as Docker, and things have improved.

#

not sure about swap memory - i'll check that next time.

#

I tried a lower resolution but had the same lag issues. I ended up using windowed mode and it was much better

turbid thorn
ripe harness
#

Hi, is there a guide somewhere that shows how to install mods on my MBP? I am using a 2023 M3 Max MBP

solemn cypress
ripe harness
dark slate
#

ive moved from windows to a macbook for school and i was trying to replay valheim but my xbox pro controller only functions in big picture mode through steam but once in game my laptop doesnt recognize any inputs does anyone else here have similar issues?

solemn cypress
dark slate
#

i tried both bluetooth and plugged in and went in and added valheim to settings and privacy to have access to inputs but nothing has worked so far

solemn cypress
dark slate
#

just a standard wireless xbox pro controller

#

this one to be exact

solemn cypress
dark slate
#

how would i install that and set it up? im terrible with tech lmao

solemn cypress
#

Make sure that gameplay setting in enabled in Valheim controller settings.

dark slate
#

ok is that in properties in steam?

solemn cypress
dark slate
#

ohhhh ok thank you

#

so should i open the game and load into my world and then plug the controller in or should i have it plugged in before launching and launch through big picture mode

solemn cypress
dark slate
#

ok thanks i just downloaded them and restarted the laptop rn so ill lyk if it ends up working!

#

hmm it still doesnt seem to be working 😦

modest vigil
#

I'm getting some pretty weird graphic artifacts with the sea foam

#

like the foam is displayed on top of my character when it should be in the background

hard fog
untold bane
#

Its a feature

supple musk
#

I am playing valheim on a mac - devs thanks for that platform support - and the Ping does not work at all. If I press P in the map it does nothing. Any ideas, what could be wrong? Using latest Build distributed through the App Store.

turbid thorn
supple musk
tidal dome
#

Quick question for Mac users, my friend just got the game and is trying to play on his 2020 Intel Based MacBook Pro. He’s seeing his FPS in the 15-20 range. Are there any other ways he can get higher frames? For the most part he’s turned everything off or on low as well

turbid thorn
# tidal dome Quick question for Mac users, my friend just got the game and is trying to play ...
  • Depending on macOS version, in the Energy or Battery menu, there may be a performance mode that can be enabled while plugged into the AC power.
  • They should be plugged in to AC power. If they are using a smaller lower-power charger for the device, they should switch to a higher-wattage one. They can see their current wattage in the System Report / Hardware / Power / Charger. They'll want Apple's 87W charger or ideally higher.
  • It's worth running Apple Diagnostics on a MBP to see if the fans are still functioning to-spec. This can point out if they are clogged, for example, which will cause throttling in games. https://support.apple.com/en-us/102550
  • Many of that model were sold with a low RAM configuration. If it's less than 16GB, that may not be adequate. They could run Activity Monitor while the game is running, Memory tab, then see if "Swap Used" shows anything. If it's more than 500 MB, good chance parts of the game are getting swapped to disk, making things slower.

And finally, that generation of laptops were often not great performers for Unity games. You could do everything right and still find it underpowered for the task. When you've exhausted the other possibilities, you're going to either want to reduce the resolution of the game down with scaling or with windowed view.

Luckily this latest generation of laptops are much better at it, especially the Apple Silicon MBPs, it's done a complete 180° in Valheim performance.

tidal dome
#

Ah okay, I’ll have him check that out, he’s thinking of getting a new computer anyways but he just wanted to see if it was possible to get it to work with what he already has

#

Thank you for the info!

turbid thorn
#

In fullscreen 1080p, I get 200-400 fps on the M4 Max MBP

supple musk
#

On my MBP M1 max I get 50-60 FPS on my 5k in full 5k resolution. Very playable.

supple musk
manic parcel
# tidal dome Quick question for Mac users, my friend just got the game and is trying to play ...

To expand on Justin Arthur's response (thank you for the excellent information btw 🙏) most macs have something called "hiDPI" that renders the screen at twice the "actual" resolution. So even if the game says it's rendering at 1680x1050, it might actually be rendering at twice that, which is okay on more powerful hardware, but an intel mac will probably struggle.

To remedy this, there's a feature called render scale in Valheim. If you put it on "automatic" or 50%, it will render the 3d world at the expected resolution. You can also put it even lower to sacrifice some looks for performance. The nice thing about the setting is that it leaves the UI looking crisp 🙂

tidal dome
#

I will have him try this as well! Thank you for the tips too!

opal island
last cosmos
#

I have been pulling my hair out when I wanted to start a server in Valheim... when I wanted to play with my son. I always got PlayFab connection issues, preventing me from starting a server. Turns out logging out and logging in to GameCenter in System Preferences fixes that.

#

Until now my "fix" was to reboot the MacBook Pro. Glad that was resolved.

manic parcel
#

That is good information! There should probably be better error messages in case the cause of the error is GameCenter and not playfab. Glad you figured out the issue!

last cosmos
#

Well, if you scroll up here a bit... there was a person on September 2nd who complained about "pinging" on the map not working.

#

And I was like: Hey, I have that issue too... pings are user-generated content and apparently need a GameCenter login. So I checked System Settings and somehow I was logged in to Game Center but it also said "Unknown" instead of my username...

#

So I logged out of GameCenter, and logged back in... The PlayFab connection issues are resolved as well as the weird "Use this GameCenter account" pop-up when starting Valheim.

#

But yes, "error handling" could be better. There is a problem connecting to PlayFab, sure. But the real issue is that Game Center wasn't properly logged into. They could add "Check Game Center login" or something to the error message.

last cosmos
#

OK, I am back. Strange Mac bug. Every time after successfully starting Valheim and playing for a bit... when I then quit Valheim... Game Center gets into a weird state.

#

So at first Game Center is fine... showing my nickname... then there's a screenshot of Valheim, that also shows me logging in with my Game Center nickname... then after quitting Valheim... Game Center shows "Unknown".

#

Next time I start Valheim, I cannot connect to PlayFab when starting a server. I always have to log out of Game Center in System Settings, and log back in again... then it works again, once.

turbid thorn
near bear
#

Hi! I updated to the new patch on my MacBook, and I've had a pretty game-breaking visual bug of bright white/flashing lights in game that I've never seen before and makes gameplay almost impossible when it happens (not to mention I imagine it would be truly awful for those with photosensitive epilepsy). Not sure if this is specifically Mac related, just not able to test on my Windows machine for now. Is this a known issue, and if not, is this the best place to discuss it, or should I be reporting using the bug reports on the Valheim website? Thanks in advance!!

solemn cypress
near bear
solemn cypress
#

There's some white flashing that can occur on new beards and hairstyles, so try to make your character hairless and bearless to see if it would stop. Otherwise when the issue occurs, try to disable some of the graphic effects, like anti aliasing.

near bear
# solemn cypress There's some white flashing that can occur on new beards and hairstyles, so try ...

It seems to be directly related to water effects, or maybe sunlight (happening all over the screen when it's raining for example, and when looking at rivers at certain angles). I also tried switching to the lowest graphics settings to see if it would fix it, and while it reduced the "flashing"/"blinding" light, there were definitely still weird bright white lighting effects. Happy to screen record some pictures or videos if that would help?

solemn cypress
near bear
solemn cypress
# near bear 16 in 2021 MBP, M1 Pro chip, 32GB RAM, MacOS Tahoe 26

Try to disable all graphic options next time it happens + set FPS limit to 30 fps.
Also, I would advise to enable Steam overlay with full parameters to see your temps.
In some cases white flashes can happen due to thermal issues, and those usually happen in Valheim around water as GPU works the most then.
Shutting down the device shroud clean and cache related issues that might cause this.

near bear
turbid thorn
#

Agreed with the above and often a full shutdown/start fixed this for me on AMD GPU for macOS when I encountered it before. Water can trigger the Bloom effect, so you can try with Bloom disabled in the graphics menu. Sadly sometimes it's an unrecoverable hardware issue from thermal damage over time… hopefully not in your case

near bear
#

I restarted and of course it's no longer happening now that I'm trying to recreate the issue 😅 I will of course record it if/when it happens again. Not sure if it helps, but I did notice that when it happened and I switched to the lowest graphics preset, some mobs (necks) had visible "laser eyes" (I assume part of their detection system?)

chilly patrol
#

My brother just had a popup when he logged into his game while hosting for me to join;
"Cloud storage low, can't guarantee the saves, please free up storage by manage saves in main menu" But it doesn't respond to him hitting the okay button

supple lynx
#

ok well, Valheim stopped working for me on my mac. It worked fine yesterday. Now it crashes steam when I try to run it. It has done this in the far past as well, but recently it worked fine, untill today..

turbid thorn
supple lynx
#

it is not asking me to report it. It just freezes steam and I have to quit out of it. I also don't see a crash report in the console app

solemn cypress
#

They should be able to see how much Cloud storage is free by clicking on the manage saves button (available at starting menu)

solemn cypress
#

Try to first shutdown your device (not restart but shutdown) and then turn it back on

chilly patrol
restive sigil
#

long shot, but could be local Time Machine snapshots? (macOS is known to report different 'free space' to userland apps vs what the system can report as well as use)

near bear
#

This happened as soon as my friend (same server) put on the new pointy hat 😅 it reverts to normal when he took it off; no issues when I wear it, only when he does, and he doesn't even need to be visible (behind a wall) for the issue to happen
wonder if this a continuation of that "blinding light" issue I had a few weeks ago

warped pagoda
#

Apologies if this is the wrong place to ask or has already been answered (new here), but I'm having an issue with my Xbox controller. I'm usually able to select and use my controller easily, but now it will not work in game or on the home screen. It is connected and responsive in Steam tests, and when I go to the controller settings and turn off and on Gamepad enabled, it appears to scroll infinitely up and/or to the right. I've tried re-pairing the controller, game/Steam/computer restarts, and uninstalling and resinstalling the game.

simple karma
violet parcel
#

Have you guys encountered an issue where your mac device (mine is an m2) can't connect to a dedicated server?

turbid thorn
languid umbra
hard fog
#

it can be mods, VPN, bad wifi, router, firewall or bad internet connection

worthy folio
#

Has anyone else run into isses with controller not working on mac or have a fix for it?

worthy folio
#

Yes

hard fog
#

plenty of people have had issues with xbox controllers and MAC

#

usually it's fixable tho

#

either a switch on the controller itself from D to X mode

#

and enable controllers inside the game itself

worthy folio
#

all other steam games work with it on mac, just not Valheim 😅

hard fog
#

like stuff like this could be an issue

#

each case is.. diffrent it feels like 😄

#

my mate MaCarBre is alot better with controllers

worthy chasm
#

turning sun shafts and motion blur both off creates a GPU stavation type scenerio I think is that right?

worthy chasm
hard fog
#

Valheim is already CPU bound

#

the GPU doesn't do much heavy lifting

worthy chasm
hard fog
#

sun shafts or motion blur?

#

and what CPU / GPU you got?

worthy chasm
hard fog
#

does the performance get better just standing around in the forrest? or in your build house / village?

worthy chasm
#

idk maybe its a quirk with my device. But when running on external monitor it obviously cant run exactly what the game outputs I suppose. So sometimes with certain settings off like with how I described the frametimes becomes wonky and the fps drops quite a bit. This could be anywhere. But if I turn sunshafts on it becomes almost exactly the same data as the games outputting.

#

I was using claude to try to understand it so Im clearly not v knowledgeable. But it was saying either one loads the gpu enough to maintain better frame times

hard fog
#

my test rig is only a pro M1

solemn cypress
worthy chasm
turbid thorn
worthy chasm
turbid thorn
#

in-game. Think I might get different results with the Metal one?

turbid thorn
#

Tried the Metal one. That's pretty neat, hadn't seen it before. It certainly seemed like a more stable reading, but I didn't see much change when I enabled or disabled shafts & blur.

worthy chasm
#

My frame intervals near 20ms disabled and around 12ms enabled lmao

turbid thorn
#

Alright. What biome were you in? Any storm going on at the time?

worthy chasm
#

haha no! Im in the mountains getting 100fps ingame overlay around 80+ on metal. Then I turn sunshafts off and itll be around 60! haha

hard fog
#

as long as you get 60+ or so. it's fine 🤔

strange birch
#

Does anyone know how to get bepinex to work on a Mac? I have my own public server and I have it installed on my server but can’t seem to get it installed or working on my computer.

I’m trying to make it so my admins who want to super build can, and allow only those who want to play vanilla and follow rules can.

#

Any and all help is hugely appreciated

solemn cypress
steep grail
#

My wife’s new Mac mini gets a server connection symbol on the top left of the screen when she joins on my Windows PC game. She can join, but gets dropped within 20 seconds. She doesn’t have any issues joining from her old Mac book from 2020. The new Mac mini runs Valheim great and I can join her game without any issues. The only thing that has changed was her new computer. It’s has a M4 chip. Any suggestions would be greatly appreciated!

solemn cypress
steep grail
#

She’s playing thru the Steam app( we both are). No VPN on the Mac mini. She’s not logged into the Game Center app on her Mac.

steep grail
#

We just checked. Both her old Mac book and new Mac mini don’t have the Game Center logged in. We also verified that the old Mac can still join my world without any issues. This is odd.

solemn cypress
steep grail
#

It “failed to connect” when I hosted without the crossplay button on.

solemn cypress
#

Then when it fails, go to main menu (on her PC), click on show player.log button (bottom left below patch notes), and DM me player file (player.log)

steep grail
hard fog
#

@restive pollen ?

floral maple
#

hey there im hoping anyone can give any advice at all, ive been working on an issue for a few days now and no matter how many fix tutorials or chatgpt chats i make it never works. im trying to play valheim using my xbox series x controller on a mac m4 chip using the new tahoe software update and it was working at the very first time i tried as in first time i tried connecting controller to game it worked not first time playing game, anyway ive checked bluetoth and apple says its connected so dose steam and laucnhing the game in big picture mode even says itll launch using this controller but ever since that first time playing with the controller it wont work all i did was shit down valheim then oppened it 10 min later and didnt work since (i can still play normal just not using controller no matter what i try) ive tried enabling and disabling steam input multiple times aswell

#

it would be amazing if anyone could help as i bought the controller for this very reason

floral maple
#

@solemn cypress you seemed to have helped other guy so hoping you can help me

#

ok i just did some testing and on my other mac laptop same system update jsut m3 chip and it works fine on that but not on mine?

floral maple
#

I found a solution, it was factory resetting my laptop

summer lily
#

I just started playing a couple of weeks ago. I use a PS5 controller on a Mac. With the latest update, using the left stick to crouch no longer works. Known issue?

solemn cypress
#

Will prob be reverted

summer lily
blazing dragon
cloud cargo
#

Getting this error on macOS after recent update when playing modded with BepinEx

⁨```log
[Info : Unity Log] [Apple.Core Plug-In Runtime] Initializing API Availability Checking
[Error : Unity Log] DllNotFoundException: AppleCoreNativeMac assembly:<unknown assembly> type:<unknown type> member:(null)
Stack trace:
Apple.Core.Availability.get_RuntimeEnvironment () (at <2ff613bb29c442f09b214e3293348086>:0)
Apple.Core.Availability.OnApplicationStart () (at <2ff613bb29c442f09b214e3293348086>:0)


Apparently, the recent version is missing a dependency DLL. The managed C# assembly (Apple.Core.dll) for Apple/Game Center integration is included but the native macOS library (AppleCoreNativeMac.dylib or .bundle) that it depends on is not.
hard fog
#

and also, mod issues should be reported to the one who made the mod, not to us since we don't handle mods.
sometimes help can be found in #mods-issues

cloud cargo
# hard fog mods are broken atm

This issue is not related to mods. I was able to identify it because it appeared in the BepinEx console.

Here is the log message from my Player.log file...

⁨⁨```log
0: Apple M4 Max (high power)
Using device Apple M4 Max (high power)
Initializing Metal device caps: Apple M4 Max
Begin MonoManager ReloadAssembly

  • Loaded All Assemblies, in 0.091 seconds
  • Finished resetting the current domain, in 0.002 seconds
    [Physics::Module] Selected backend.
    [Physics::Module] Name: PhysX
    [Physics::Module] Id: 0xf2b8ea05
    [Physics::Module] SDK Version: 4.1.2
    [Physics::Module] Integration Version: 1.0.0
    [Physics::Module] Threading Mode: Multi-Threaded
    DllNotFoundException: GameKitWrapper assembly:<unknown assembly> type:<unknown type> member:(null)
    at (wrapper managed-to-native) Apple.GameKit.DefaultNSErrorHandler+Interop.DefaultNSErrorHandler_Set(Apple.Core.Runtime.NSExceptionCallback)
    at Apple.GameKit.DefaultNSErrorHandler.Init () [0x00000] in <1c863a717bf14265a8394fbb417df2e2>:0

DllNotFoundException: GameKitWrapper assembly:<unknown assembly> type:<unknown type> member:(null)
at (wrapper managed-to-native) Apple.GameKit.DefaultNSExceptionHandler+Interop.DefaultNSExceptionHandler_Set(Apple.Core.Runtime.NSExceptionCallback)
at Apple.GameKit.DefaultNSExceptionHandler.Init () [0x00000] in <1c863a717bf14265a8394fbb417df2e2>:0

UnloadTime: 0.608000 ms

hard fog
#

just running Bepinex can and will cause issues by itself

cloud cargo
hard fog
#

did you completly remove bepinex first?

cloud cargo
haughty roost
#

Hi folks, the last patch update changed the case of "Valheim.app" to "valheim.app" and causes the game to not launch at all from the Steam GUI if the Steam app library is on a case-sensitive volume.

haughty roost
#

It's an easy fix if you know what you're doing, but I wouldn't count on the average player to know. The error you get is the most obscure that I've seen on macOS--just an error with a number--but it's actually a codesign validation error since the rename corrupts the existing app bundle.

solemn cypress
restive sigil
#

(may have dreamt this, but I'm pretty sure it used to be the other way around at one point in the past, valheim.app in the config, but Valheim.app on disk)

lime jungle
#

They did it on windows too. I wonder if this is some over reaction process from when they changed the capitalization on linux and broke it real good because theres also a 13 year old bug in steam for linux where it wont change capitalization on files

https://steamdb.info/patchnotes/21713235/

barren ledge
#

idk if this is a bug or not but how do I fix this, when I use the scroll wheel on my mouse to rotate a object its super sensitive and it also bounces back one tick, I'm using the Logitech MX anywhere 3S for Mac?

solemn cypress
haughty roost
turbid thorn
#

I have to use case sensitive on my macs due to needing to work with Linux code repos all the time.

lyric tendon
#

Hi! My friend needs help troubleshooting a problem he's having. I'm not sure if this is the right channel, but in his words:

OS: macOS Tahoe 26.2
Device: Apple MacBook Pro
Chip: Apple M4 Pro
Valheim Version: 0.221.10
CrossOver Version: 25.1.1 (25.1.1.38624)

I want to play Valheim using mods with BepInEx. I am aware that there is a macOS-native version of Valheim for Apple Silicon. However, the BepInEx mods support there is pretty limited and it has to run through Rosetta. So, I tried using CrossOver.

So far, CrossOver has worked really well for Windows-only games. For example, I was able to play Sons of the Forest on an ultra-high graphics settings without any noticeable performance drop.

However, with Valheim version 0.221.10 (the “Default Public Version” as of 8 February 2026), I couldn’t get the mouse pointer to work. I was able to pan the camera around when playing, but I couldn’t click on menus. The behavior is the same whether or not I have mods with BepInEx installed. And, when I tried downgrading to the current default_old version (which I believe is 0.221.4), the mouse pointer works just fine. So, I think this is an issue with 0.221.10 specifically. I’d be more than happy to play with the default_old version, but that means that I can’t play on servers running the 0.221.10 version because of the mismatch.

When running the modded game with the debug console window open, there is some insight to why the pointer might not be working:

“[Error: Unity.Log] EnableMouseInPointer failed with the following error: Call not implemented.”

This appeared in the console right after the line “[Message: BepInEx] Chainloader startup complete.”

There is also another error message, but I’m not sure whether or not they it is related to the pointer issue. These two error messages do not appear when I’m running the game’s default_old version.

If any of you knows any possible fixes to the issue, please let us know!

restive sigil
# lyric tendon Hi! My friend needs help troubleshooting a problem he's having. I'm not sure if ...

the input / mouse cursor issue is a known issue with CrossOver in combination with Unity 6 games (believe Valheim upgraded its engine recently; which would explain why an older version of Valheim 'works')

CodeWeavers (creators of CrossOver) are aware, and have a fix, but it didn't land in the latest CrossOver 26 beta/preview yet. from what I understood they're gonna try and include a fix as soon as possible (next point release, e.g. 26.1)

lyric tendon
solemn cypress
turbid thorn
civic hill
tawny wind
#

Just FYI...I just finished installing and trying Valheim on my M1 Max Mac Studio using Asahi Linux hoping it would eliminate missing shader issues with so many mods (it utilizes Vulkan shaders). I never got to mod testing because the average 20fps due to the multiple translation layers of this setup was not worth it to me when I normally get 60+ fps under Rosetta2.

barren ledge
#

I just got a Logitech F310 Controller for My Birthday, input D works with everything on my Mac but not for Mac Valheim or Steam Valheim, X input does not work with Mac?

civic hill
turbid thorn
zenith wedge
#

Is there anyone that has updated ways to mod valheim on MacBook? All the tutorials seem to be outdated and don’t work

civic hill
short bear
#

If you have the latest update of the ORIGINAL BepInEx (not the one from ThunderStore) it should work. But there might be some changes that make it break. Let me check again.

#

Yep. There's an update in the script file (presumably for Apple Silicon) that breaks mods. I need to look into this.

#

I think I found the problem. Let me know if you still need assistance.

zenith wedge
#

i found a way to install them thankfully. It was a pain but i got it to work. unfortunately, half of them visually dont work cus of macs ass shaders

short bear
#

I wouldn't call them "ass" shaders, they're just different. 😉

raw grotto
raven sleet
#

Hello everyone I have a problem with the gamepad in the game. Steam and other games see the gamepad (hollow knight), but as soon as I launch Valheim it doesn't work. I have a wired xbox 360 gamepad. I play on a macbook air m2.

raven sleet
hard fog
#

@solemn cypress do you have any insight on mac + Xbox hardware?

solemn cypress
raven sleet
raven sleet
solemn cypress
raven sleet
solemn cypress
raven sleet
solemn cypress
# raven sleet First one

Hm.. can you try adding this launch argument to Valhiem properties in steam library:
-gamepad xbox
and also replace the above one with -gamepad generic if the first one doesn't work

raven sleet
lime jungle
cloud cargo
wise violet
#

Anyone have any mouse button macro suggestions? (I want dodge in one button).

Steel GG seems broken on my M4 machine.

misty sorrel
#

Hello, this has been happening to me since I started playing the game a few years ago. I'm not sure if it's a Mac-only bug or not, but I keep having the same bits of my (admittedly very large) base break, as if they have no support, and when the physics updates for the entire structure, they break.

Whenever stuff like wooden beams break, I put them back on, but they break again after a few in-game days. It happens sporadically, sometimes, after just a day, sometimes after several play sessions. They all seem to follow "chunk" (not sure what the correct term is in Valheim) border lines. I have a very geometric circular base, so I can definitely trace the breaks to these lines.

Will the Valheim team ever fix this issue? It's definitely a pain in terms of both quality-of-life and the gameplay itself. I have broken buildings, walls, decorations because of this. I play the game on the default mode, but I'm sure builders on "creative" mode have also encountered this issue.

solemn cypress
#

It's not a Mac-only issue, can't happen on Windows as well, but reproducing the issue is a problem. Can you send me your world files?

misty sorrel
misty sorrel
solemn cypress
misty sorrel
#

Okay got it. Also, using a M3 Max MBP if it helps with reproducing the bug.

hard fog
#

Doesn't even sound like a problem. Its a phenomenon when your base it litterally 5 times as large as expected and the game takes a long time to check stability on 48000 objects... The build piece probably should break instantly of you had a lot smaller build.

#

Creative mode doesn't change the stability system. Just to be clear.

misty sorrel
#

I mean my buildings are fully stability-compliant in theory. There really shouldn't be any pieces breaking in the first place. I understand that it takes a while for the game to calculate stability for high instance counts, but it doesn't matter when none of the pieces should be breaking at all, because they're all adequately supported. I'm talking about green pieces directly connected to blue pieces breaking here--not red ones.

hard fog
#

Things doesn't just break for no reason. But when you are over 20.000 instances. The stability checks are so slow, just adding 1 piece more will reset the checks and it can take ingame days for anything to break.

#

You said 48000 instances so anything breaking at all is a miracle

misty sorrel
#

Considering I've played the game since 2021 and all I've been doing was build stuff, I understand the building mechanic very well. I'm almost at day 2000 with this world. I'm a very meticulous builder who does things mathematically.

Say, I have 10 identical buildings, and only one of them breaks at that particular spot over and over, and I notice that all of them follow the sharp chunk/zone lines on the world--I think there's a problem with how the game engine calculates stability. My theory is that instances built right at the border between zones are orphaned, or treated like they don't have a stability parent, because their parent is at a different zone, hence after many days, get calculated to "no parent" and break off.

#

I do understand that the number of instances probably contribute a lot to the complexity of the calculations, and probably why my world had more of these things breaking as I kept expanding my base area.

misty sorrel
#

Just checked, all of the problem areas are in places where the instance count changed if I walked one step on either side, from 46k to 37k for example. Pretty sure these are zone borders.

hard fog
#

I bet the ground is'nt 100% identical in each of those buildings

turbid thorn
#

It could be that issue where heights are different from session to session. I think I sent Smiffe a sample world where I could walk through an archway maybe in only ~60% of loads of that area. Didn't even need to restart the game to reproduce. I'm on macOS as well.

solemn cypress
#

Not the same issue, this one where build pieces break on zone borders on high instance count build is kinda a known issue
On some systems with CPU issue is can also happen on low instance count

turbid thorn
solemn cypress
turbid thorn
#

I remember that, but is it is also known that it can change from one zone load to the next in the same game session?

old moss
#

Hey everyoneee

I'm on a macOS Sonoma and I'm unable to connect to my friend's Valheim server hosted on a Windows PC. We've been troubleshooting for hours and can't figure it out.

  • Host is on Windows, running the server via "Start Server" in-game with crossplay enabled

  • Third friend on Windows connects without any issue

  • All three of us are on the same version of Valheim (latest)

we tried to

  • Connect via server list → Failed to connect

  • Connect via Join by IP (local IP) → Failed to connect

  • Connect via Steam Friends → Failed to connect

  • Tested on multiple networks (home Wi-Fi, mobile hotspot) → Failed to connect every time

  • Disabled macOS firewall (both in System Settings and via terminal) → No change

  • Full clean reinstall of Valheim and Steam → No change

  • Tried tccutil reset LocalNetwork → Failed (even with sudo)

there are the Log output at the time of connection attempt:


Joining server 'XXXX' at PlayFab network...

ZRpc timeout detected

ZPlayFabSocket::Dispose. State: CONNECTING

ZPlayFabSocket::Dispose. leave lobby.

ZPlayFabSocket::Dispose. State: CLOSED

Lost connection to server:ErrorConnectFailed

It seems like Valheim finds the server via PlayFab successfully, but then the direct game connection times out.

The two Windows players can connect fine on any network. The issue is 100% reproducible on my Mac regardless of network.

Has anyone experienced this on Sonoma? Any fix?

thankssssss

solemn cypress
turbid thorn
short bear
#

Ok, an observation I've made multiple times now:
I just killed Yagluth again, and I think that for this specific problem it was ON his altar, and either NO or just ONE torn spirit dropped for me to pick up. I was just wondering if somebody has ever stumbled over this specific issue, or am I just imagining things. Thanks for your insight.

short bear
#

Default settings. Absolutely NO changes to world modifiers. Almost empty inventory. I have auto-pickup turned OFF when fighting bosses.

short bear
#

And of course completely vanilla. App Store Valheim can't be modded. 😛

solemn cypress
short bear
#

Ok, thanks. So at least it's a known bug. They're probably gone by now. I got at least one, so it's not too much of an issue this time. I was just wondering why it happened to me multiple times in a row. 😄

#

Is this specific to Mac-Valheim or is it a general bug?

solemn cypress
short bear
#

Lol... I think I got killing Yagluth down to a science. 😄

#

Na, it just happens that I kite him around his altar, and then when I kill him, he's most likely on the altar. 😉

little nova
#

Possible macOS Resolution menu / WindowServer issue.

I’m on macOS with an Apple M3 Pro, Steam build, Valheim 0.221.12. While playing, everything was running normally. I opened the Settings → Resolution menu, and shortly after that the whole Mac became severely laggy, not just Valheim. After quitting Valheim, macOS was still lagging for a few minutes: text input, Spotlight, app switching, etc.

During the lag, Valheim had exited, but WindowServer was around 50-75% CPU and Steam Helper GPU/renderer processes were still active. Swap was ~3.25 GB used. No macOS thermal warning showed up. The system eventually recovered without rebooting.

Relevant Player.log timing:

  • 23:12:04 “Activating default element Resolution”
  • 23:12:08 “Activating default element Resolution”
  • 23:12:10 “ZRpc timeout detected”
  • 23:12:12 “Game - OnApplicationQuit”
  • 23:12:17 “Error”
  • several “Thread ... may have been prematurely finalized” lines during shutdown

This may be macOS/WindowServer/GPU cleanup related after opening the Resolution menu. Happy to provide Player.log or test a repro if useful.

#

also im a dev so happy to help test/debug as needed

turbid thorn
# little nova Possible macOS Resolution menu / WindowServer issue. I’m on macOS with an Apple...

That's heavy swap usage if you have reasonable RAM and it easily explains the full-Mac lag. Certainly could be a Valheim bug, and if so, could have taken some time for the kernel to move pages back to RAM from swap after Valheim exit. If you reproduce it again:
Activity Monitor, Memory Tab, make sure Memory column is in descending order, and keep it up before and after you close Valheim.

And if you have that player log, you can definitely attach it here in a post. Feel free to strip IP addresses or anything else you deem private.

#

I haven't heard about weirdness with the graphics tab on arm64 macOS, but let us know if there's anything unique about your setup, such as running at native display res. Will be useful to know if you were full-screened or windows at the time too.

I'm not an Iron Gate dev, but they do stop by. If you find it to be a bug definitively, add it to the list (first form): https://www.valheimgame.com/support/

#

If you want to get dev-y with it, you can also Sample the process before you exit via:
Activity Monitor, select the process, ℹ️, Sample
It'll give a stacktrace. Won't be super helpful if the bug is in the CLI/.Net code, but can help in other cases.

little nova
#

thanks Justin. after some more investigation it seems like aggregate memory pressure. I agree on heavy swap. using a menubar app to monitor

solemn cypress
little nova