I'm trying to change things mid game by replacing/adding existing equipment with other variants. For example, I'm wanting to change the board. (It could be just the board display/model.)
I tried adding the equipment mid game but TabletopKit doesn't appear to render new items added once it initializes.
I'm not sure if I'm just doing something wrong or if there's some trick to reset the renderer or something.
One other option could be, is it possible to change the model or texture for an existing model entity?
Post
Replies
Boosts
Views
Activity
The TabletopKit sample app builds fine with Xcode 16 beta 1.
https://developer.apple.com/documentation/tabletopkit/tabletopkitsample
I updated to the new beta 4 and downloaded an updated version of the Tabletopkit sample code but am now getting this error.
Tabeletopkit Sample 1 issue
SwiftUI.ToolbarContent:3:51
Main actor-isolated static method '_makeContent(content:inputs:resolved:)' cannot be used to satisfy nonisolated protocol requirement
Add '@preconcurrency' to the 'ToolbarContent' conformance to defer isolation checking to run time
'_makeContent(content:inputs:resolved:)' declared here
If I go back to beta 1 it still builds OK. I tried its suggestion but it still won't build.
Is there a workaround? I didn't see it listed.