Long-time Unity & web software engineer, now working on blockchain explorers
At home on the dancefloor. I used to do live video art (VJ-ing) & electronic dance music sometimes.
I'm on Bluesky @ stellz.xyz
Unity Technologies management has fucked everything up. this is a guide to the job system circa 2019
License: MIT License
Long-time Unity & web software engineer, now working on blockchain explorers
At home on the dancefloor. I used to do live video art (VJ-ing) & electronic dance music sometimes.
I'm on Bluesky @ stellz.xyz
solved by this
https://talk.olab.io/t/get-errors-when-grabbing-webcamtextures-color-information-into-color32/654/4
More specifically by inserting this in the Update method
if (!isInitialized && m_CamTexture.didUpdateThisFrame)
{
m_Data = new Color32[m_CamTexture.width * m_CamTexture.height];
m_NativeColors = new NativeArray(m_Data, Allocator.Persistent);
isInitialized = true;
}
else if (isInitialized && m_CamTexture.didUpdateThisFrame) {
....//rest of Update code
}
https://github.com/stella3d/job-system-cookbook/blob/master/Assets/Scripts/RayBoundsIntersection.cs
line 36: "we can't use bools in NativeArray, since the type must be blittable"
Could byte's or short's be used instead of int's to reduce memory usage?
Hi
Trying to run the demos but getting the following error
Input color array length needs to match width * height, but 589824 != 1280 * 720
UnityEngine.WebCamTexture:GetPixels32(WebCamTexture, Color32[])
WebcamProcessing:Update() (at Assets/Scripts/WebcamProcessing.cs:83)
Is there a way to work with Unity3d on Windows 10, version 1803
I can open it but i am not able to open cloned project, it crash an says:
The project is on case sensitive file system. Case sensitive file systems are not supported at the moment. Please move the project folder to a case insensitive file system.
Solve problem:
fsutil.exe file queryCaseSensitiveInfo C:\my folder
fsutil.exe file setCaseSensitiveInfo C:\folder\filename disable
Such as:
Library/PackageCache/[email protected]/Editor/Serialization/Generation/CSharpGenerationBackend.cs(9,24): error CS0234: The type or namespace name 'Serialization' does not exist in the namespace 'Unity.Properties' (are you missing an assembly reference?)
The easiest fix seems to be to remove the Entities package and add the Mathematics package manually.
Hi, Than I added new field in PositionUpdateJob struct https://github.com/stella3d/job-system-cookbook/blob/master/Assets/Scripts/AccelerationParallelFor.cs line36 the сubes stopped moving. My code:
```struct PositionUpdateJob : IJobParallelForTransform
{
[ReadOnly]
public NativeArray<Vector3> velocity; // the velocities from AccelerationJob
[ReadOnly]
public Transform[] trans; // here
public float deltaTime;
public void Execute(int i, TransformAccess transform)
{
//trans[i].LookAt(Camera.main.transform.position);
transform.position += velocity[i] * deltaTime;
}
}```
Hi
I am working with VR projects and I am very interested in learning C# Job System and Burst Compiler to use them in my own VR ones to optimize PC 3D Assets and Performance for VR devices ( mainly Oculus Quest), for it, Could you add any VR examples to this repo?
Thanks for your time
Alejandro Castan
couldn't find burst, entities and job.
fix Packages\manifest
"registry": "https://staging-packages.unity.com"=>"registry": "https://packages.unity.com"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.