Comments (5)
➤ PM Bot commented:
Jira ticket: RNET-1160
from realm-dotnet.
How does AssetBundleRealmObject
look like? Also, do you think you can share the built .dll that contains the models? I'd be curious to see what the compiled library looks like.
from realm-dotnet.
How does
AssetBundleRealmObject
look like? Also, do you think you can share the built .dll that contains the models? I'd be curious to see what the compiled library looks like.
using System.Collections.Generic;
using Realms;
namespace Orcas.Asset
{
[Preserve(AllMembers = true)]
public class AssetBundleRealmObject : RealmObject
{
[PrimaryKey]
public string Name { get; set; }
public string FileName { get; set; }
public string Hash { get; set; }
public string CRC { get; set; }
public long Size { get; set; }
public IList<AssetBundleRealmObject> Dependencies { get; }
}
}
I'm not sure what the status of the DLL file is during the build process because we first compile it using HybridCLR before proceeding with the build process. I noticed in the packaging log that weaving was automatically executed during the execution of the BuildPlayerScripts script, and theoretically it should be correct by the time WriteFileList is executed. However, my current guess is that maybe the DLL loaded into memory is still from before weaving, which causes an error.
from realm-dotnet.
How does
AssetBundleRealmObject
look like? Also, do you think you can share the built .dll that contains the models? I'd be curious to see what the compiled library looks like.
from realm-dotnet.
@nirinchev
I just tried separating the HybridCLR's compilation and project's packaging into two Unity cmd commands, with a woven cmd commands in between, and it compiled successfully! Thank you!
public static void Woven()
{
RealmWeaver.UnityWeaver.Initialize();
RealmWeaver.UnityWeaver.WeaveAllAssembliesMenuItem();
Thread.Sleep(20000);
}
from realm-dotnet.
Related Issues (20)
- Compacting a Realm results in an upgrade prompt in Realm Studio HOT 2
- Encrypted Realm created on Android won't open on Windows HOT 5
- Trying to open a particular Realm DB file throws the following exception - "Upgrading from file format version 22 to 24 D:\a\realm-dotnet\realm-dotnet\wrappers\realm-core\src\realm/util/encrypted_file_mapping.hpp:180: [realm-core-14.5.1] Assertion failed: local_ndx < m_page_state.size() with (local_ndx, m_page_state.size(), size_t(addr), size_t(m_addr), m_page_shift) = [85, 1, 2331762327552, 2331762294784, 16] <backtrace not supported on this platform>" HOT 11
- SDKs should not consume stitch_ prefixed fields HOT 1
- Error when trying to migrate IList data type with DynamicApi.GetList HOT 6
- IRealmCollection SubscribeForNotifications not working!!! HOT 7
- Add support for Migration.FindInNewRealm HOT 1
- RealmResults (from Realm live queries) no longer notify UI observers HOT 5
- ToDictionary(Tkey, Filter) not filter HOT 3
- Other meessage when try add Apikey to anonymous user HOT 1
- Realm gets deleted on Compact HOT 2
- Wrong notification behaviour when subscribing both with `CollectionChanged` and `SubscribeForNotifications` HOT 2
- ShouldCompactOnLaunch not available for synchronized Realms HOT 1
- Collection.Filter should error out if argument is a removed object HOT 1
- Assigning a collection to a RealmValue property seems to merge it with other objects rather than replace it HOT 1
- TypeInitializationException on initialization HOT 3
- Incorrect argument parsing in test client HOT 1
- Flexible schema POC HOT 1
- Support using a log level for a specific log category HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-dotnet.